aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorleilei.lin <[email protected]>2017-08-09 08:29:21 +0800
committerIngo Molnar <[email protected]>2017-08-10 12:08:40 +0200
commitfdccc3fb7a42ea4e4cd77d2fb8fa3a45c66ec0bf (patch)
tree0bc643ab390edab5ded23a9fd381f058425a8438 /tools/perf/scripts/python/export-to-postgresql.py
parentab027620e95987b5f0145013090a109b4152d23b (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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions