perf scripts python cs-etm: Add start and stop arguments
authorJames Clark <james.clark@linaro.org>
Mon, 16 Sep 2024 13:57:37 +0000 (14:57 +0100)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 24 Sep 2024 18:47:15 +0000 (11:47 -0700)
commit66dd3b539efe0d4b44324c1fe39978db8111ed93
tree1ed3ef4562d37fd08e31c1c8d4a134c57c89b66b
parent8286cc55a9a6f03d62bd140ce827025f9ed5e619
perf scripts python cs-etm: Add start and stop arguments

Make it possible to only disassemble a range of timestamps or sample
indexes. This will be used by the test to limit the runtime, but it's
also useful 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-7-james.clark@linaro.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/scripts/python/arm-cs-trace-disasm.py