mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] probes: Fixes for 6.5-rc1
@ 2023-07-11 14:47 Masami Hiramatsu
  2023-07-12 23:28 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Masami Hiramatsu @ 2023-07-11 14:47 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Jiri Olsa, Li zeming, Masami Hiramatsu, Tzvetomir Stoyanov,
	Ze Gao, linux-kernel

Hi Linus,

Probes fixes and clean ups for v6.5-rc1:

- Fix fprobe's rethook release timing issue(1). Release rethook after
  ftrace_ops is unregistered so that the rethook is not accessed after
  free.

- Fix fprobe's rethook access timing issue(2). Stop rethook before
  ftrace_ops is unregistered so that the rethook is NOT keep using
  after exiting the unregister_fprobe().

- Fix eprobe cleanup logic. If it attaches to multiple events and failes
  to enable one of them, rollback all enabled events correctly.

- Fix fprobe to unlock ftrace recursion lock correctly when it missed
  by another running kprobe.

- Cleanup kprobe to remove unnecessary NULL.

- Cleanup kprobe to remove unnecessary 0 initializations.


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


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

Tag SHA1: 18caf0b93d8c36dbef8de1332b50ea3a6defd19f
Head SHA1: 195b9cb5b288fec1c871ef89f78cc9a7461aad3a


Jiri Olsa (1):
      fprobe: Release rethook after the ftrace_ops is unregistered

Li zeming (2):
      kprobes: Remove unnecessary ‘NULL’ values from correct_ret_addr
      kernel: kprobes: Remove unnecessary ‘0’ values

Masami Hiramatsu (Google) (1):
      fprobe: Ensure running fprobe_exit_handler() finished before calling rethook_free()

Tzvetomir Stoyanov (VMware) (1):
      kernel/trace: Fix cleanup logic of enable_trace_eprobe

Ze Gao (1):
      fprobe: add unlock to match a succeeded ftrace_test_recursion_trylock

----
 include/linux/rethook.h     |  1 +
 kernel/kprobes.c            |  8 ++++----
 kernel/trace/fprobe.c       | 15 +++++++--------
 kernel/trace/rethook.c      | 13 +++++++++++++
 kernel/trace/trace_eprobe.c | 18 ++++++++++++++++--
 5 files changed, 41 insertions(+), 14 deletions(-)


Thank you,

-- 
Masami Hiramatsu (Google) <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] probes: Fixes for 6.5-rc1
  2023-07-11 14:47 [GIT PULL] probes: Fixes for 6.5-rc1 Masami Hiramatsu
@ 2023-07-12 23:28 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2023-07-12 23:28 UTC (permalink / raw)
  To: Masami Hiramatsu (Google)
  Cc: Linus Torvalds, Jiri Olsa, Li zeming, Masami Hiramatsu (Google),
	Tzvetomir Stoyanov (VMware),
	Ze Gao, linux-kernel

The pull request you sent on Tue, 11 Jul 2023 23:47:28 +0900:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9a3236ce48406c3190dfa06137636525001b32f5

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-12 23:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-11 14:47 [GIT PULL] probes: Fixes for 6.5-rc1 Masami Hiramatsu
2023-07-12 23:28 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®