On Fri, 21 Mar 2025 15:37:26 +0530, Likhitha Korrapati wrote: > Commit 54f9aa1092457 ("tools/perf/powerpc/util: Add support to > handle compatible mode PVR for perf json events") introduced > to select proper JSON events in case of compat mode using > auxiliary vector. But this caused a compilation error in ppc64 > Big Endian. > > arch/powerpc/util/header.c: In function 'is_compat_mode': > arch/powerpc/util/header.c:20:21: error: cast to pointer from > integer of different size [-Werror=int-to-pointer-cast] > 20 | if (!strcmp((char *)platform, (char *)base_platform)) > | ^ > arch/powerpc/util/header.c:20:39: error: cast to pointer from > integer of different size [-Werror=int-to-pointer-cast] > 20 | if (!strcmp((char *)platform, (char *)base_platform)) > | > > [...] Applied to perf-tools-next, thanks!
Best regards, Namhyung