perf syscalltbl: Remove syscall_table.hThe definition of "static const char *const syscalltbl[] = {" is donein a generated syscalls_32.h or syscalls_64.h that is architecturedependent. In order t
perf syscalltbl: Remove syscall_table.hThe definition of "static const char *const syscalltbl[] = {" is donein a generated syscalls_32.h or syscalls_64.h that is architecturedependent. In order to include the appropriate file a syscall_table.his found via the perf include path and it includes the syscalls_32.hor syscalls_64.h as appropriate.To support having multiple syscall tables, one for 32-bit and one for64-bit, or for different architectures, an include path cannot beused. Remove syscall_table.h because of this and inline what it doesinto syscalltbl.c.For architectures without a syscall_table.h this will cause a failureto include either syscalls_32.h or syscalls_64.h rather than a failureto include syscall_table.h. For architectures that only included oneor other, the behavior matches BITS_PER_LONG as previously done onarchitectures supporting both syscalls_32.h and syscalls_64.h.Signed-off-by: Ian Rogers <[email protected]>Reviewed-by: Howard Chu <[email protected]>Reviewed-by: Charlie Jenkins <[email protected]>Reviewed-by: Namhyung Kim <[email protected]>Acked-by: Arnaldo Carvalho de Melo <[email protected]>Link: https://lore.kernel.org/r/[email protected]Signed-off-by: Namhyung Kim <[email protected]>
show more ...
perf tools loongarch: Use syscall tableloongarch uses a syscall table, use that in perf instead of using unistd.h.Signed-off-by: Charlie Jenkins <[email protected]>Cc: Adrian Hunter <adrian.h
perf tools loongarch: Use syscall tableloongarch uses a syscall table, use that in perf instead of using unistd.h.Signed-off-by: Charlie Jenkins <[email protected]>Cc: Adrian Hunter <[email protected]>Cc: Alexander Shishkin <[email protected]>Cc: Arnd Bergmann <[email protected]>Cc: Christian Brauner <[email protected]>Cc: Guo Ren <[email protected]>Cc: Günther Noack <[email protected]>Cc: Ian Rogers <[email protected]>Cc: Ingo Molnar <[email protected]>Cc: James Clark <[email protected]>Cc: Jiri Olsa <[email protected]>Cc: John Garry <[email protected]>Cc: Jonathan Corbet <[email protected]>Cc: Leo Yan <[email protected]>Cc: Mark Rutland <[email protected]>Cc: Mickaël Salaün <[email protected]>Cc: Mike Leach <[email protected]>Cc: Namhyung Kim <[email protected]>Cc: Palmer Dabbelt <[email protected]>Cc: Paul Walmsley <[email protected]>Cc: Peter Zijlstra <[email protected]>Cc: Will Deacon <[email protected]>Link: https://lore.kernel.org/r/[email protected]Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
perf parse-regs: Remove unused macros PERF_REG_{IP|SP}The macros PERF_REG_{IP|SP} have been replaced by using functionsperf_arch_reg_{ip|sp}(), remove them!Signed-off-by: Leo Yan <leo.yan@linaro
perf parse-regs: Remove unused macros PERF_REG_{IP|SP}The macros PERF_REG_{IP|SP} have been replaced by using functionsperf_arch_reg_{ip|sp}(), remove them!Signed-off-by: Leo Yan <[email protected]>Acked-by: Ian Rogers <[email protected]>Cc: Adrian Hunter <[email protected]>Cc: Albert Ou <[email protected]>Cc: Alexander Shishkin <[email protected]>Cc: Eric Lin <[email protected]>Cc: Fangrui Song <[email protected]>Cc: Guo Ren <[email protected]>Cc: Huacai Chen <[email protected]>Cc: Ingo Molnar <[email protected]>Cc: Ivan Babrou <[email protected]>Cc: James Clark <[email protected]>Cc: Jiri Olsa <[email protected]>Cc: John Garry <[email protected]>Cc: Kan Liang <[email protected]>Cc: Mark Rutland <[email protected]>Cc: Mike Leach <[email protected]>Cc: Ming Wang <[email protected]>Cc: Namhyung Kim <[email protected]>Cc: Palmer Dabbelt <[email protected]>Cc: Paul Walmsley <[email protected]>Cc: Peter Zijlstra <[email protected]>Cc: Sandipan Das <[email protected]>Cc: Will Deacon <[email protected]>Cc: [email protected]Cc: [email protected]Cc: [email protected]Link: https://lore.kernel.org/r/[email protected]Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf: Add basic support for LoongArchAdd basic support for LoongArch, which is very similar to the MIPSversion.Signed-off-by: Ming Wang <[email protected]>Signed-off-by: Huacai Chen
tools/perf: Add basic support for LoongArchAdd basic support for LoongArch, which is very similar to the MIPSversion.Signed-off-by: Ming Wang <[email protected]>Signed-off-by: Huacai Chen <[email protected]>