diff options
author | Alexander Shishkin <[email protected]> | 2017-01-19 18:43:29 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-01-30 12:01:14 +0100 |
commit | fe45bafbd0e1b5e828aa9d44d07e569df85869a2 (patch) | |
tree | 3edb6f4db8cf67e2c38e03301952c2c5e10d7d42 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1fd7e416995401ec082fc0fe6090a223969beda5 (diff) |
perf/core: Don't re-schedule CPU flexible events needlessly
In the sched-in path, we first remove a CPU's flexible events in order to
give priority to the task's pinned events. However, this step can be safely
skipped if the task doesn't have its own pinned events.
This patch implements this skipping.
Reported-by: Adrian Hunter <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions