Skip to content

Commit 88443d3

Browse files
committed
tools headers UAPI: Sync linux/perf_event.h with the kernel sources
To pick the trivial change in: cb1c4ab ("perf: Add new macros for mem_hops field") Just comment source code alignment. This silences this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h' differs from latest version at 'include/uapi/linux/perf_event.h' diff -u tools/include/uapi/linux/perf_event.h include/uapi/linux/perf_event.h Cc: Kajol Jain <kjain@linux.ibm.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/lkml/YflPKLhu2AtHmPov@kernel.org/ Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent e9cc5d4 commit 88443d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/include/uapi/linux/perf_event.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,9 +1332,9 @@ union perf_mem_data_src {
13321332

13331333
/* hop level */
13341334
#define PERF_MEM_HOPS_0 0x01 /* remote core, same node */
1335-
#define PERF_MEM_HOPS_1 0x02 /* remote node, same socket */
1336-
#define PERF_MEM_HOPS_2 0x03 /* remote socket, same board */
1337-
#define PERF_MEM_HOPS_3 0x04 /* remote board */
1335+
#define PERF_MEM_HOPS_1 0x02 /* remote node, same socket */
1336+
#define PERF_MEM_HOPS_2 0x03 /* remote socket, same board */
1337+
#define PERF_MEM_HOPS_3 0x04 /* remote board */
13381338
/* 5-7 available */
13391339
#define PERF_MEM_HOPS_SHIFT 43
13401340

0 commit comments

Comments
 (0)