aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2009-10-13 06:16:30 +0000
committerIngo Molnar <[email protected]>2009-10-13 06:19:53 +0000
commit7a693d3f0d10f978ebdf3082c41404ab97106567 (patch)
treeae8eba3e81404aa735e3b083c9eee737f0d5ff7e /tools/perf/builtin-annotate.c
parentperf sched: Add -C option to measure on a specific CPU (diff)
downloadkernel-7a693d3f0d10f978ebdf3082c41404ab97106567.tar.gz
kernel-7a693d3f0d10f978ebdf3082c41404ab97106567.zip
perf_events, x86: Fix event constraints code
There was namespace overlap due to a rename i did - this caused the following build warning, reported by Stephen Rothwell against linux-next x86_64 allmodconfig: arch/x86/kernel/cpu/perf_event.c: In function 'intel_get_event_idx': arch/x86/kernel/cpu/perf_event.c:1445: warning: 'event_constraint' is used uninitialized in this function This is a real bug not just a warning: fix it by renaming the global event-constraints table pointer to 'event_constraints'. Reported-by: Stephen Rothwell <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions