mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
Since HAVE_KPROBES can be enabled in arm64, this patch introduces regs_query_register_offset() to convert register name to offset for arm64, so the BPF prologue feature is ready to use. Signed-off-by: He Kuang <[email protected]> Reviewed-by: Will Deacon <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Bintian Wang <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Wang Nan <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
6 lines
118 B
Makefile
6 lines
118 B
Makefile
ifndef NO_DWARF
|
|
PERF_HAVE_DWARF_REGS := 1
|
|
endif
|
|
PERF_HAVE_JITDUMP := 1
|
|
PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1
|