Re: [GIT PULL] perf tools fixes for v5.9

From: Linus Torvalds
Date: Tue Sep 01 2020 - 22:44:02 EST


On Tue, Sep 1, 2020 at 3:42 PM Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:
>
> - The SNOOPX and REMOTE offsets in the data_src bitmask in perf records were
> were both 37, SNOOPX is 38, fix it.

The kernel uapi side thinks it's 37. What's up?

$ git grep PERF_MEM_SNOOPX_SHIFT

results in

include/uapi/linux/perf_event.h:#define PERF_MEM_SNOOPX_SHIFT 37
tools/include/uapi/linux/perf_event.h:#define PERF_MEM_SNOOPX_SHIFT 38

Hmm?

Linus