diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-06-01 16:50:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-01 21:40:52 -0400 |
commit | a0055ae2a4e13db9534c438cf8f3896181da6afc (patch) | |
tree | db47d0a2ad5bbd7c0c27d4e295ca8da68eacb3a2 /Documentation/perf_counter/Makefile | |
parent | ea5cc87c63b49c133d15ec2911bb2e49e8124516 (diff) |
perf_counter tools: Use hex2u64 in more places
This has also a nice side effect, tools built on newer systems such as
fedora 10 again work on systems with older versions of glibc:
My workstation:
[acme@doppio ~]$ rpm -q glibc.x86_64
glibc-2.9-3.x86_64
Test machine:
[acme@emilia ~]$ rpm -q glibc.x86_64
glibc-2.5-24
Before:
[acme@emilia ~]$ perf
perf: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by perf)
[acme@emilia ~]$ nm `which perf` | grep GLIBC_2\.7
U __isoc99_sscanf@@GLIBC_2.7
[acme@emilia ~]$
After:
[acme@emilia ~]$ perf
usage: perf [--version] [--help] COMMAND [ARGS]
The most commonly used perf commands are:
record Run a command and record its profile into perf.data
report Read perf.data (created by perf record) and display the
profile
stat Run a command and gather performance counter statistics
top Run a command and profile it
See 'perf help COMMAND' for more information on a specific command.
[acme@emilia ~]$ nm `which perf` | grep GLIBC_2\.7
[acme@emilia ~]$
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20090601205019.GA7805@ghostprotocols.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/perf_counter/Makefile')
-rw-r--r-- | Documentation/perf_counter/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/perf_counter/Makefile b/Documentation/perf_counter/Makefile index 416ab11e9786..3b8275feb889 100644 --- a/Documentation/perf_counter/Makefile +++ b/Documentation/perf_counter/Makefile | |||
@@ -296,6 +296,7 @@ LIB_H += util/quote.h | |||
296 | LIB_H += util/util.h | 296 | LIB_H += util/util.h |
297 | LIB_H += util/help.h | 297 | LIB_H += util/help.h |
298 | LIB_H += util/strbuf.h | 298 | LIB_H += util/strbuf.h |
299 | LIB_H += util/string.h | ||
299 | LIB_H += util/run-command.h | 300 | LIB_H += util/run-command.h |
300 | LIB_H += util/sigchain.h | 301 | LIB_H += util/sigchain.h |
301 | LIB_H += util/symbol.h | 302 | LIB_H += util/symbol.h |
@@ -315,6 +316,7 @@ LIB_OBJS += util/rbtree.o | |||
315 | LIB_OBJS += util/run-command.o | 316 | LIB_OBJS += util/run-command.o |
316 | LIB_OBJS += util/quote.o | 317 | LIB_OBJS += util/quote.o |
317 | LIB_OBJS += util/strbuf.o | 318 | LIB_OBJS += util/strbuf.o |
319 | LIB_OBJS += util/string.o | ||
318 | LIB_OBJS += util/usage.o | 320 | LIB_OBJS += util/usage.o |
319 | LIB_OBJS += util/wrapper.o | 321 | LIB_OBJS += util/wrapper.o |
320 | LIB_OBJS += util/sigchain.o | 322 | LIB_OBJS += util/sigchain.o |