diff options
| author | Steve Clevenger <[email protected]> | 2024-11-08 19:11:18 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-11-09 06:42:56 +0000 |
| commit | 26ec3d7cc3f3aa591c8d5f3fde99df6caca92d02 (patch) | |
| tree | 5dc718a53288d9140486d95b4b8d35edf35124a2 /tools/perf/util/trace-event-scripting.c | |
| parent | perf stat: Expand metric+unit buffer size (diff) | |
| download | kernel-26ec3d7cc3f3aa591c8d5f3fde99df6caca92d02.tar.gz kernel-26ec3d7cc3f3aa591c8d5f3fde99df6caca92d02.zip | |
perf script cs_etm: Add map_pgoff to python dictionary
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/8d9a1142dc58ffa34a000cb7b7a26055df0a37ec.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
