]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6feb46c69c27fcf817f69bca2034ffcd03e51a59
treed37e4fae03454e74684798bc112ba161786f978a
parent74a6031a7d71983eff6a4c98ee129e82b4fd1d85
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