aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2016-07-07 17:37:52 +0000
committerIngo Molnar <[email protected]>2016-08-10 11:13:25 +0000
commitc3a61a2c5c6b6b4dd878812507c681c9aec3ed17 (patch)
tree397b17097f2d4eba42081d2c323f57447eb29e74 /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf/x86: Ensure perf_sched_cb_{inc,dec}() is only called from pmu::{add,del}() (diff)
downloadkernel-c3a61a2c5c6b6b4dd878812507c681c9aec3ed17.tar.gz
kernel-c3a61a2c5c6b6b4dd878812507c681c9aec3ed17.zip
perf/x86/intel: Eliminate dead code in intel_pmu_lbr_del()
Since pmu::del() is always called under perf_pmu_disable(), the block conditional on cpuc->enabled is dead. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Alexander Shishkin <[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] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions