Messages in this thread | | | From | Adrian Hunter <> | Subject | [PATCH 0/7] perf script: Add an option to print the source line number | Date | Tue, 3 Dec 2013 09:23:03 +0200 |
| |
Hi
Here are some patches to add an option to perf script that will print the source file name and line number.
Adrian Hunter (7): perf script: Do not call perf_event__preprocess_sample() twice) perf script: Add an option to print the source line number perf tools: Use asprintf instead of malloc plus snprintf perf tools: Retain bfd reference to lookup source line numbers perf tools: Retain symbol source file name to lookup source line numbers perf tools: Do not need to read symbols for source line lookup perf tools: Do not disable source line lookup just because of 1 failure
tools/perf/Documentation/perf-script.txt | 2 +- tools/perf/builtin-script.c | 40 +++++++++-- tools/perf/util/dso.c | 3 + tools/perf/util/dso.h | 5 ++ tools/perf/util/session.c | 33 +++++---- tools/perf/util/session.h | 3 +- tools/perf/util/srcline.c | 119 +++++++++++++------------------ tools/perf/util/symbol.c | 2 + 8 files changed, 113 insertions(+), 94 deletions(-)
Regards Adrian
| |