]> git.baikalelectronics.ru Git - kernel.git/commit
perf/mem: Introduce PERF_MEM_LVLNUM_{EXTN_MEM|IO}
authorRavi Bangoria <ravi.bangoria@amd.com>
Wed, 28 Sep 2022 09:57:51 +0000 (15:27 +0530)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 29 Sep 2022 10:20:54 +0000 (12:20 +0200)
commit4fe1f9ed6199178f7453a0a4eedc13031f5bf448
tree55d065c437d91f6c543cbeb94519633fe092b109
parent9e5bd94b91d1664bb549c24e275eae90edb8ba2a
perf/mem: Introduce PERF_MEM_LVLNUM_{EXTN_MEM|IO}

PERF_MEM_LVLNUM_EXTN_MEM which can be used to indicate accesses to
extension memory like CXL etc. PERF_MEM_LVL_IO can be used for IO
accesses but it can not distinguish between local and remote IO.
Introduce new field PERF_MEM_LVLNUM_IO which can be clubbed with
PERF_MEM_REMOTE_REMOTE to indicate Remote IO accesses.

Signed-off-by: Ravi Bangoria <ravi.bangoria@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220928095805.596-2-ravi.bangoria@amd.com
include/uapi/linux/perf_event.h