aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2024-08-07 13:29:29 +0200
committerPeter Zijlstra <[email protected]>2024-08-08 12:27:32 +0200
commit3e15a3fe3a2a170c5be52783667706875c088f96 (patch)
tree36dbbeedbb73c687d696efce89f12ac6d7c7000e /tools/perf/util/scripting-engines/trace-event-python.c
parent5d95a2af973d47260b1e1828953fc860c0094052 (diff)
perf: Optimize __pmu_ctx_sched_out()
There is is no point in doing the perf_pmu_disable() dance just to do nothing. This happens for ctx_sched_out(.type = EVENT_TIME) for instance. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Kan Liang <[email protected]> Reviewed-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions