perf: util/syscalltbl.c:43:38: error: âSYSCALLTBL_ARM64_MAX_IDâ undeclared here (not in a function)

From: Gordan Bobic
Date: Fri Jul 10 2020 - 20:06:06 EST


I hit this FTBFS earlier today while trying to build the LT 4.19.132
kernel from source:

https://lore.kernel.org/patchwork/patch/960281/

The "quick hack" patch mentioned at the bottom of the thread gets it
to compile. Is this the correct solution, or is there a better fix? As
it stands, tools/perf doesn't seem to compile on 4.19.132.