diff options
author | Peter Zijlstra <[email protected]> | 2018-03-09 14:56:27 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-03-12 15:28:50 +0100 |
commit | 8d5bce0c37fa10f21dbdd6a6d8fcba85202fe24e (patch) | |
tree | 852a2d8d787bd56cd40b5e2db7e4923cec7bcc84 /tools/perf/util/trace-event-scripting.c | |
parent | 8703a7cfe148f73062c568e9a8549ce692104864 (diff) |
perf/core: Optimize perf_rotate_context() event scheduling
The event schedule order (as per perf_event_sched_in()) is:
- cpu pinned
- task pinned
- cpu flexible
- task flexible
But perf_rotate_context() will unschedule cpu-flexible even if it
doesn't need a rotation.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions