diff options
| author | Steve Clevenger <[email protected]> | 2024-11-08 19:11:17 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-11-09 06:42:57 +0000 |
| commit | e8328bf3cd135b5f443bed77f3791ac1633ae01e (patch) | |
| tree | 3ad5ac25ef5f2f9aaa68c4e9d3e28b0c45e645dd /tools/perf/util/trace-event-scripting.c | |
| parent | perf script cs_etm: Add map_pgoff to python dictionary (diff) | |
| download | kernel-e8328bf3cd135b5f443bed77f3791ac1633ae01e.tar.gz kernel-e8328bf3cd135b5f443bed77f3791ac1633ae01e.zip | |
perf script python: Adjust objdump start/end per map pgoff parameter
Extract map_pgoff parameter from the dictionary, and adjust start/end
range passed to objdump based on the value.
A zero start_addr is filtered to prevent output of dso address range
check failures. This script repeatedly sees a zero value passed
in for
start_addr = cpu_data[str(cpu) + 'addr']
These zero values are not a new problem. The start_addr/stop_addr warning
clutters the instruction trace output, hence this change.
Signed-off-by: Steve Clevenger <[email protected]>
Reviewed-by: Leo Yan <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/21ccdd22e664bdeccb878672d4b2c0518873c1e5.1731027120.git.scclevenger@os.amperecomputing.com
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
