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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/