diff options
| author | Adrian Hunter <adrian.hunter@intel.com> | 2023-04-24 08:51:07 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-05-12 15:21:49 -0300 |
| commit | d3b52f71d18513c209465ba65e0c524b9733351b (patch) | |
| tree | 9220aef7c2583089712c25ce20b2759c2d7c16b0 /tools/perf/scripts/python/bin | |
| parent | perf dso: Declare dso const as needed (diff) | |
| download | linux-d3b52f71d18513c209465ba65e0c524b9733351b.tar.gz linux-d3b52f71d18513c209465ba65e0c524b9733351b.zip | |
perf script: Refine printing of dso offset (dsoff)
Print dso offset only for object files, and in those cases force using the
dso->long_name if the dso->name starts with '[' or the dso is kcore, in
order to avoid special names such as [vdso], or mixing up kcore with
vmlinux.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Changbin Du <changbin.du@huawei.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20230424055107.12105-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
