[GIT PULL] probes: Fixes for 6.5-rc3

From: Google
Date: Sun Jul 30 2023 - 11:06:30 EST


Hi Linus,

Probe fixes for 6.5-rc3:

- probe-events: Fix to add NULL check for some BTF API calls which can
return error code and NULL.

- ftrace selftests: Fix to check fprobe and kprobe event correctly. This
fixes a miss condition of the test command.

- kprobes: Prohibit probing on the function which starts from "__cfi_"
and "__pfx_" since those are auto generated for kernel CFI and not
executed.


Please pull the latest probes-fixes-v6.5-rc3 tree, which can be found at:


git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
probes-fixes-v6.5-rc3

Tag SHA1: 1586c2c77c542c0f9a20bfe5bbebfc739f8dbd2a
Head SHA1: de02f2ac5d8cfb311f44f2bf144cc20002f1fbbd


Masami Hiramatsu (Google) (3):
tracing/probes: Fix to add NULL check for BTF APIs
selftests/ftrace: Fix to check fprobe event eneblement
kprobes: Prohibit probing on CFI preamble symbol

----
kernel/kprobes.c | 14 +++++++++++++-
kernel/trace/trace_probe.c | 8 ++++----
.../selftests/ftrace/test.d/dynevent/add_remove_btfarg.tc | 2 +-
3 files changed, 18 insertions(+), 6 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>