Initial support for some Rust tags + way to ask for CU merging at load time
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/27 patches 0 repliesNew
- v2 posting 1/27 patches 2 repliesSuperseded
- v13 patches 7 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | dwarf_loader: Initial support for DW_TAG_variant_partdwarf_loader.c dwarves.c dwarves.h | +66 | 0 replies | |
| 2/7 | dwarf_loader: Allow forcing the merge of CUs for solving inter CU tag referencesdwarf_loader.c dwarves.h man-pages/ +2 more | +29 | 0 replies | |
| 3/7 | dwarf_loader: Initial support for DW_TAG_subprogram in DW_TAG_enumerationbtf_encoder.c ctf_encoder.c dwarf_loader.c +5 more | +98 | 0 replies | |
| 4/7 | encoders: Fix diagnostic messages for unexpected tags in enumerationsbtf_encoder.c ctf_encoder.c dwarves_fprintf.c | +4 | 0 replies | |
| 5/7 | dwarves_fprintf: Accumulate function__fprintf return value in enumeration printingdwarves_fprintf.c | +1 | 0 replies | |
| 6/7 | dwarves: Use tag__delete for enumeration childrendwarves.c | +1 | 0 replies | |
| 7/7 | btf_encoder: Remove unused variablesbtf_encoder.c | +1 | 0 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Alan Maguire |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | R-b |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHES v2 0/7] Initial support for some Rust tags + way to ask for CU merging at load time
Hi,
Here is a series with some initial support for some Rust DWARF
tags and a way to ask for CUs to be merged just like we do for LTO to cope with inter CU tag references.
This makes one of the regression tests to pass again as perf now
has some rust source files and thus Rust CUs in a perf binary built with DWARF, which is used to test pahole's pretty printing features, where it uses the DWARF in a perf binary to decode perf.data records.
Now this is implemented as --features=force_cu_merging,
following a suggestion from Alan, so that we can ask for this, that albeit not optimal is a way to handle Rust and other cases that may need this CU merging approach while we don't have something that works in parallel as without this option.
- Arnaldo
Arnaldo Carvalho de Melo (7):
dwarf_loader: Initial support for DW_TAG_variant_part
dwarf_loader: Allow forcing the merge of CUs for solving inter CU tag references
dwarf_loader: Initial support for DW_TAG_subprogram in DW_TAG_enumeration
encoders: Fix diagnostic messages for unexpected tags in enumerations
dwarves_fprintf: Accumulate function__fprintf return value in enumeration printing
dwarves: Use tag__delete for enumeration children
btf_encoder: Remove unused variables
btf_encoder.c | 17 ++++++---- ctf_encoder.c | 16 ++++++--- dwarf_loader.c | 67 +++++++++++++++++++++++++++++++------ dwarves.c | 35 +++++++++++++++---- dwarves.h | 19 ++++++++++- dwarves_emit.c | 10 +++--- dwarves_fprintf.c | 44 +++++++++++++++++------- man-pages/pahole.1 | 17 ++++++++-- pahole.c | 20 ++++++++--- tests/prettify_perf.data.sh | 4 +-- 10 files changed, 195 insertions(+), 54 deletions(-)
Signature · 1 line
2.54.0