linux/tools/perf/scripts/python
Steve Clevenger e8328bf3cd 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 <scclevenger@os.amperecomputing.com>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Cc: suzuki.poulose@arm.com
Cc: james.clark@linaro.org
Cc: mike.leach@linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: coresight@lists.linaro.org
Cc: ilkka@os.amperecomputing.com
Link: https://lore.kernel.org/r/21ccdd22e664bdeccb878672d4b2c0518873c1e5.1731027120.git.scclevenger@os.amperecomputing.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2024-11-08 22:42:57 -08:00
..
bin
Perf-Trace-Util
arm-cs-trace-disasm.py perf script python: Adjust objdump start/end per map pgoff parameter 2024-11-08 22:42:57 -08:00
check-perf-trace.py
compaction-times.py
event_analyzing_sample.py
export-to-postgresql.py
export-to-sqlite.py
exported-sql-viewer.py
failed-syscalls-by-pid.py
flamegraph.py
futex-contention.py
gecko.py
intel-pt-events.py
libxed.py
mem-phys-addr.py
net_dropmonitor.py
netdev-times.py
parallel-perf.py
powerpc-hcalls.py
sched-migration.py
sctop.py
stackcollapse.py
stat-cpi.py
syscall-counts-by-pid.py
syscall-counts.py
task-analyzer.py