Commit 4f75118e authored by Ravi Bangoria's avatar Ravi Bangoria Committed by Xie Haocheng
Browse files

perf/x86/amd: Support PERF_SAMPLE_DATA_SRC

mainline inclusion
from mainline-v6.1-rc1
commit 7c10dd0a
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I601MP


CVE: NA

--------------------------------

struct perf_mem_data_src is used to pass arch specific memory access
details into generic form. These details gets consumed by tools like
perf mem and c2c. IBS tagged load/store sample provides most of the
information needed for these tools. Add a logic to convert IBS
specific raw data into perf_mem_data_src.

Signed-off-by: default avatarRavi Bangoria <ravi.bangoria@amd.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220928095805.596-4-ravi.bangoria@amd.com


Signed-off-by: default avatarXie Haocheng <haocheng.xie@amd.com>
parent ef202770
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment