https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121420
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3a8b8fc3174891c4c12f5766d82184a82d4b2e3e introduced the brokenness after the Cupertino Miranda's patch. commit 3a8b8fc3174891c4c12f5766d82184a82d4b2e3e Author: Ian Rogers <irog...@google.com> Date: Fri Apr 7 22:52:08 2023 -0700 perf bpf filter: Support pre-5.16 kernels where 'mem_hops' isn't in 'union perf_mem_data_src' The 'mem_hops' bits were added in 5.16 with no prior equivalent. Signed-off-by: Ian Rogers <irog...@google.com> Acked-by: Namhyung Kim <namhy...@kernel.org> Cc: Adrian Hunter <adrian.hun...@intel.com> Cc: Alexander Shishkin <alexander.shish...@linux.intel.com> Cc: Ingo Molnar <mi...@redhat.com> Cc: Jiri Olsa <jo...@kernel.org> Cc: Mark Rutland <mark.rutl...@arm.com> Cc: Peter Zijlstra <pet...@infradead.org> Cc: b...@vger.kernel.org Link: https://lore.kernel.org/r/20230408055208.1283832-1-irog...@google.com Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>