diff options
| author | leilei.lin <[email protected]> | 2017-08-09 00:29:21 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-08-10 10:08:40 +0000 |
| commit | fdccc3fb7a42ea4e4cd77d2fb8fa3a45c66ec0bf (patch) | |
| tree | 0bc643ab390edab5ded23a9fd381f058425a8438 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | perf/x86/amd/uncore: Get correct number of cores sharing last level cache (diff) | |
| download | kernel-fdccc3fb7a42ea4e4cd77d2fb8fa3a45c66ec0bf.tar.gz kernel-fdccc3fb7a42ea4e4cd77d2fb8fa3a45c66ec0bf.zip | |
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
