[PATCHv3 bpf-next 0/2] bpf,ftrace: bpf dispatcher function fix

Jiri Olsa
2022-09-03T13:12:11Z

hi,
as discussed [1] sending fix that moves bpf dispatcher function of out
ftrace locations together with Peter's HAVE_DYNAMIC_FTRACE_NO_PATCHABLE
dependency change.

v3 changes:
- using notrace and adding it also for all archs [Peter]

v2 changes:
- fixing s390x CI build failure by enabling attributes
only for x86_64 [Ilya Leoshkevic]

thanks,
jirka

[1] https://lore.kernel.org/bpf/20220722110811.124515-1-jolsa@kernel.org/
---
Jiri Olsa (1):
bpf: Move bpf_dispatcher function out of ftrace locations

Peter Zijlstra (Intel) (1):
ftrace: Add HAVE_DYNAMIC_FTRACE_NO_PATCHABLE

arch/x86/Kconfig | 1 +
include/asm-generic/vmlinux.lds.h | 11 ++++++++++-
include/linux/bpf.h | 7 +++++++
kernel/trace/Kconfig | 6 ++++++
tools/objtool/check.c | 3 ++-
5 files changed, 26 insertions(+), 2 deletions(-)