perf tools: Cleanup dso debug info access
Status from this message: Thanks, applied to perf-tools-next, for v7.4.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 4 repliesApplied
- v18 patches 3 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | perf tools: Add dso->dbginfo_type fieldtools/ tools/ | +17 | 0 replies | |
| 2/8 | perf tools: Factor out dso__find_dbginfo_type()tools/ tools/ tools/ | +37 | 0 replies | |
| 3/8 | perf tools: Check system path when check debuginfotools/ tools/ | +4 | 2 replies | |
| 4/8 | perf tools: Export dso__get_filename() with type argumenttools/ tools/ tools/ | +31 | 0 replies | |
| 5/8 | perf tools: Add dso__put_filename()tools/ tools/ tools/ | +16 | 0 replies | |
| 6/8 | perf tools: Avoid repeated failing search for debuginfotools/ tools/ | +15 | 0 replies | |
| 7/8 | perf tools: Looks symbol file first when check debuginfotools/ | +14 | 0 replies | |
| 8/8 | perf tools: Update debuginfo__new() to take DSOtools/ tools/ tools/ +1 more | +33 | 1 reply |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Arnaldo Carvalho de Melo | Masami Hiramatsu (Google) |
|---|---|---|
| 1/8 | R-b | |
| 2/8 | R-b | |
| 3/8 | R-b | |
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | R-b | |
| 7/8 | R-b | |
| 8/8 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/8] perf tools: Cleanup dso debug info access
Hello,
This is a preparation for DSO file access cleanup work. IIUC DSO access has three types - symbol table, binary data and debug info. Those information can be placed separately like stripped binaries and split debug files. I've added dbginfo_type to DSO to track location of debug info like others.
I'm sending this out before it grows too much. This patchset focuses on debuginfo open path. Once it looks good to others, I'll update other places accessing DWARF info to use this info and cleanup other file type accesses too.
v2 changes)
* check .zdebug_info section as well
* slightly change the order of debug types
v1: https://lore.kernel.org/r/[email protected]
Thanks,
Namhyung
Namhyung Kim (8):
perf tools: Add dso->dbginfo_type field
perf tools: Factor out dso__find_dbginfo_type() perf tools: Check system path when check debuginfo perf tools: Export dso__get_filename() with type argument perf tools: Add dso__put_filename()
perf tools: Avoid repeated failing search for debuginfo perf tools: Looks symbol file first when check debuginfo perf tools: Update debuginfo__new() to take DSO
tools/perf/util/debuginfo.c | 51 +++++++++----------- tools/perf/util/debuginfo.h | 13 ++++- tools/perf/util/dso.c | 90 +++++++++++++++++++++++++++-------- tools/perf/util/dso.h | 33 +++++++++++++ tools/perf/util/probe-event.c | 4 +- 5 files changed, 137 insertions(+), 54 deletions(-)
Signature · 1 line
2.55.0