summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-trace.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2013-07-26 16:27:23 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-08-07 22:35:24 +0200
commit602bab1b883090ffd125ed1253fe8ec127c048b1 (patch)
tree24d97c01ad4efdd17ec0304e1ee66f25ad5ea737 /tools/perf/builtin-trace.c
parentperf evsel: Actually show symbol offset in stack trace when requested (diff)
downloadlinux-602bab1b883090ffd125ed1253fe8ec127c048b1.tar.xz
linux-602bab1b883090ffd125ed1253fe8ec127c048b1.zip
perf tools: Fix compile of util/tsc.c
On Fedora 18, with gcc 4.6.4 compile fails with: arch/x86/util/tsc.c: In function ‘perf_time_to_tsc’: arch/x86/util/tsc.c:13:6: error: declaration of ‘time’ shadows a global declaration [-Werror=shadow] cc1: all warnings being treated as errors make: *** [/tmp/junk/arch/x86/util/tsc.o] Error 1 make: *** Waiting for unfinished jobs.... Fix by renaming the local variable. Signed-off-by: David Ahern <dsahern@gmail.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Link: http://lkml.kernel.org/r/1374848843-43127-1-git-send-email-dsahern@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions