perf tools: Support full source file paths for srcline
[linux-2.6-block.git] / tools / perf / builtin-report.c
index 3a9d1b659fcd353a1b4df9222c13b83cda045efb..f301e865001f7f25f989523ced1c48b8cb1db113 100644 (file)
@@ -738,6 +738,8 @@ int cmd_report(int argc, const char **argv, const char *prefix __maybe_unused)
        OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts",
                            "Instruction Tracing options",
                            itrace_parse_synth_opts),
+       OPT_BOOLEAN(0, "full-source-path", &srcline_full_filename,
+                       "Show full source file name path for source lines"),
        OPT_END()
        };
        struct perf_data_file file = {