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:26 +0000
commita5dcff628a678b9f4535155662f81c5cda066bc7 (patch)
treeb36be1eb1af77940ba2d71d5f6bc188ba493367a /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf/x86/intel: Eliminate dead code in intel_pmu_lbr_del() (diff)
downloadkernel-a5dcff628a678b9f4535155662f81c5cda066bc7.tar.gz
kernel-a5dcff628a678b9f4535155662f81c5cda066bc7.zip
perf/x86/intel: Remove redundant test from intel_pmu_lbr_add()
By the time we call pmu::add(), event->ctx must be set, and we even already rely on this, so remove that test from intel_pmu_lbr_add(). 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