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

perf/x86/amd: Support PERF_SAMPLE_{WEIGHT|WEIGHT_STRUCT}

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


CVE: NA

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

IbsDcMissLat indicates the number of clock cycles from when a miss is
detected in the data cache to when the data was delivered to the core.
Similarly, IbsTagToRetCtr provides number of cycles from when the op
was tagged to when the op was retired. Consider these fields for
sample->weight.

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-5-ravi.bangoria@amd.com


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