aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorKyle McMartin <[email protected]>2011-01-24 16:13:04 +0000
committerArnaldo Carvalho de Melo <[email protected]>2011-02-07 14:41:41 +0000
commitfb7d0b3cefb80a105f7fd26bbc62e0cbf9192822 (patch)
tree1d5ce57f5fa73c593e10a321edb02498bea834b3 /tools/perf/builtin-annotate.c
parenttracing/kprobes: Add bitfield type (diff)
downloadkernel-fb7d0b3cefb80a105f7fd26bbc62e0cbf9192822.tar.gz
kernel-fb7d0b3cefb80a105f7fd26bbc62e0cbf9192822.zip
perf tool: Fix gcc 4.6.0 issues
GCC 4.6.0 in Fedora rawhide turned up some compile errors in tools/perf due to the -Werror=unused-but-set-variable flag. I've gone through and annotated some of the assignments that had side effects (ie: return value from a function) with the __used annotation, and in some cases, just removed unused code. In a few cases, we were assigning something useful, but not using it in later parts of the function. kyle@dreadnought:~/src% gcc --version gcc (GCC) 4.6.0 20110122 (Red Hat 4.6.0-0.3) Cc: Ingo Molnar <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Kyle McMartin <[email protected]> [ committer note: Fixed up the annotation fixes, as that code moved recently ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions