OSDN Git Service

perf: Add comment about current state of PERF_MEM_LVL_* namespace and remove an extra...
authorKajol Jain <kjain@linux.ibm.com>
Wed, 6 Oct 2021 14:06:51 +0000 (19:36 +0530)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 19 Oct 2021 15:27:00 +0000 (17:27 +0200)
commitf4c6217f7f5936f7173d028559ff5d25cce10816
treeb2a5137c2857aeec6aadf697a44e5caa09b01087
parent79df45731da68772d2285265864a52c900b8c65f
perf: Add comment about current state of PERF_MEM_LVL_* namespace and remove an extra line

Add a comment about PERF_MEM_LVL_* namespace being depricated
to some extent in favour of added PERF_MEM_{LVLNUM_,REMOTE_,SNOOPX_}
fields.

Remove an extra line present in perf_mem__lvl_scnprintf function.

Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20211006140654.298352-2-kjain@linux.ibm.com
include/uapi/linux/perf_event.h
tools/include/uapi/linux/perf_event.h
tools/perf/util/mem-events.c