linux/Documentation/perf_counter
Arnaldo Carvalho de Melo a0055ae2a4 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>
2009-06-02 03:40:52 +02:00
..
Documentation perf_counter tools: Generate per command manpages (and pdf/html, etc.) 2009-05-30 13:52:44 +02:00
util perf_counter tools: Use hex2u64 in more places 2009-06-02 03:40:52 +02:00
.gitignore perf_counter tools: add in basic glue from Git 2009-04-20 17:36:48 +02:00
Makefile perf_counter tools: Use hex2u64 in more places 2009-06-02 03:40:52 +02:00
builtin-help.c perf_counter tools: Generate per command manpages (and pdf/html, etc.) 2009-05-30 13:52:44 +02:00
builtin-record.c perf_counter tools: Use hex2u64 in more places 2009-06-02 03:40:52 +02:00
builtin-report.c perf_counter tools: Use hex2u64 in more places 2009-06-02 03:40:52 +02:00
builtin-stat.c perf_counter tools: Print 'CPU utilization factor' in builtin-stat 2009-05-30 12:41:12 +02:00
builtin-top.c perf_counter tools: Add locking to perf top 2009-05-30 11:34:00 +02:00
builtin.h perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
command-list.txt perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
design.txt perf_counter: documentation update 2009-05-01 13:23:45 +02:00
perf.c perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
perf.h perf_counter tools: increase limits, fix 2009-05-25 09:59:50 +02:00