]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf scripts python cs-etm: Improve arguments
authorJames Clark <james.clark@linaro.org>
Mon, 16 Sep 2024 13:57:36 +0000 (14:57 +0100)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 24 Sep 2024 18:47:11 +0000 (11:47 -0700)
commit8286cc55a9a6f03d62bd140ce827025f9ed5e619
tree6c5b0a8b61afa92735f4e50e95f4cabba68f10f2
parent7b371afc9b67349c724c15d235924bc40694872a
perf scripts python cs-etm: Improve arguments

Make vmlinux detection automatic and use Perf's default objdump
when -d is specified. This will make it easier for a test to use the
script without having to provide arguments. And similarly for users.

Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Tested-by: Ganapatrao Kulkarni <gankulkarni@os.amperecomputing.com>
Cc: Ben Gainey <ben.gainey@arm.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Ruidong Tian <tianruidong@linux.alibaba.com>
Cc: Leo Yan <leo.yan@linux.dev>
Cc: Benjamin Gray <bgray@linux.ibm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: coresight@lists.linaro.org
Cc: John Garry <john.g.garry@oracle.com>
Cc: scclevenger@os.amperecomputing.com
Link: https://lore.kernel.org/r/20240916135743.1490403-6-james.clark@linaro.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/scripts/python/arm-cs-trace-disasm.py