Merge 'origin/master' into perf-tools-next
authorNamhyung Kim <namhyung@kernel.org>
Mon, 4 Nov 2024 07:16:30 +0000 (23:16 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 4 Nov 2024 07:18:20 +0000 (23:18 -0800)
To get the fixes in the perf-tools branch.  Resolved a conflict due to
RISC-V's syscall table change.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1  2 
tools/perf/Makefile.config
tools/perf/builtin-trace.c
tools/perf/util/syscalltbl.c

Simple merge
Simple merge
@@@ -46,10 -46,11 +46,15 @@@ static const char *const *syscalltbl_na
  #include <asm/syscalls.c>
  const int syscalltbl_native_max_id = SYSCALLTBL_LOONGARCH_MAX_ID;
  static const char *const *syscalltbl_native = syscalltbl_loongarch;
 +#elif defined(__riscv)
 +#include <asm/syscalls.c>
 +const int syscalltbl_native_max_id = SYSCALLTBL_RISCV_MAX_ID;
 +static const char *const *syscalltbl_native = syscalltbl_riscv;
+ #else
+ const int syscalltbl_native_max_id = 0;
+ static const char *const syscalltbl_native[] = {
+       [0] = "unknown",
+ };
  #endif
  
  struct syscall {