diff options
author | Graham Woodward <graham.woodward@arm.com> | 2024-10-25 15:30:06 +0100 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-10-29 16:10:05 -0700 |
commit | 19966d792b9e6b055aeb2f0e573b4d4573d5e15b (patch) | |
tree | 12c407133f9e3e6bdaa5862822ace46aa696acbd /tools/perf/util/trace-event-scripting.c | |
parent | e3b2949e3fa2fd8c19cd5fbb0424d38f70a70e9c (diff) | |
download | linux-19966d792b9e6b055aeb2f0e573b4d4573d5e15b.tar.gz linux-19966d792b9e6b055aeb2f0e573b4d4573d5e15b.tar.bz2 linux-19966d792b9e6b055aeb2f0e573b4d4573d5e15b.zip |
perf arm-spe: Set sample.addr to target address for instruction sample
For an instruction sample, assign the target address to the field
'to_ip'.
If it is a non-branch record, to_ip will be 0, presenting a non-valid
target address.
Signed-off-by: Graham Woodward <graham.woodward@arm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Tested-by: Leo Yan <leo.yan@arm.com>
Cc: nd@arm.com
Cc: mike.leach@linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20241025143009.25419-2-graham.woodward@arm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions