Fix srcline addr2line issue with the ',' sentinel
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v12 patches 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | perf srcline: Make addr2line configuration failure more verbosetools/ | +21 | 0 replies | |
| 2/2 | perf srcline: Make sentinel reading for binutils addr2line more robusttools/ | +53 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Changbin Du |
|---|---|
| Series | T-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Fix srcline addr2line issue with the ',' sentinel
addr2line makes it hard to detect when inline output has finished. To detect it srcline issues a bogus ',' symbol and expects to see a filename:line of "??:0". For binutils addr2line ',' gets turned into address 0 and if there is a symbol there then the sentinel isn't detected, this problem has been occurring with kernel binaries.
The issue was reported by and debugged by Changbin Du <[email protected]>.
v2. Incorporate feedback from Changbin.
Ian Rogers (2):
perf srcline: Make addr2line configuration failure more verbose perf srcline: Make sentinel reading for binutils addr2line more robust
tools/perf/util/srcline.c | 93 ++++++++++++++++++++++++++++++--------- 1 file changed, 73 insertions(+), 20 deletions(-)
Signature · 1 line
2.41.0.162.gfafddb0af9-goog