perf script: "sym" field really means show IP data
authorDavid Ahern <dsahern@gmail.com>
Fri, 27 May 2011 20:28:43 +0000 (14:28 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 2 Jun 2011 16:28:34 +0000 (13:28 -0300)
commit787bef174f055343c69a9639e6e05a564980ed4c
treed37e4fae03454e74684798bc112ba161786f978a
parent2cee77c4505fc581f41b44e18ffc0953b67a414c
perf script: "sym" field really means show IP data

Currently the "sym" output field is used to dump instruction pointers
and callchain stack. Sample addresses can also be converted to symbols,
so the meaning of "sym" needs to be fixed. This patch adds an "ip"
option and if it is selected the user can also opt to dump symbols for
them. If the user opts to dump IP without syms only the address is
shown.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1306528124-25861-2-git-send-email-dsahern@gmail.com
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-script.txt
tools/perf/builtin-script.c
tools/perf/util/session.c
tools/perf/util/session.h