diff options
author | Martin Liška <m.liska@foxlink.cz> | 2024-07-19 12:57:08 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2024-08-12 13:59:22 -0300 |
commit | e6b56ae7c2d82976398fdbf00858f31193cf5971 (patch) | |
tree | 0f1f2f10260630a4ecc5f6687d8213bf8a731d7b /tools/perf/util | |
parent | 4f21bfed691c96da1fc85b76c16e8f6d8fe98a3d (diff) | |
download | linux-e6b56ae7c2d82976398fdbf00858f31193cf5971.tar.gz linux-e6b56ae7c2d82976398fdbf00858f31193cf5971.tar.bz2 linux-e6b56ae7c2d82976398fdbf00858f31193cf5971.zip |
perf script: add --addr2line option
Similarly to other subcommands (like report, top), it would be handy to
provide a path for addr2line command.
Signed-off-by: Martin Liska <martin.liska@hey.com>
Cc: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/eadc3e36-029d-4848-9d69-272fe5a83a26@foxlink.cz
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
-rw-r--r-- | tools/perf/util/symbol_conf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/symbol_conf.h b/tools/perf/util/symbol_conf.h index 657cfa5af43c..a9c51acc722f 100644 --- a/tools/perf/util/symbol_conf.h +++ b/tools/perf/util/symbol_conf.h @@ -64,7 +64,7 @@ struct symbol_conf { *sym_list_str, *col_width_list_str, *bt_stop_list_str; - char *addr2line_path; + const char *addr2line_path; unsigned long time_quantum; struct strlist *dso_list, *comm_list, |