diff options
author | leilei.lin <[email protected]> | 2017-08-09 08:29:21 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-10 12:08:40 +0200 |
commit | fdccc3fb7a42ea4e4cd77d2fb8fa3a45c66ec0bf (patch) | |
tree | 0bc643ab390edab5ded23a9fd381f058425a8438 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ab027620e95987b5f0145013090a109b4152d23b (diff) |
perf/core: Reduce context switch overhead
Skip most of the PMU context switching overhead when ctx->nr_events is 0.
50% performance overhead was observed under an extreme testcase.
Signed-off-by: leilei.lin <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
[ Rewrote the changelog. ]
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