diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-03-18 00:30:31 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-03-18 00:30:31 +0300 |
commit | 47c7efa4f0c335d039d9f5795022ba9b589cbe4a (patch) | |
tree | 05f46dca4b734c61df2c6f01e654eda303c5f955 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 4701f33a10702d5fc577c32434eb62adde0a1ae1 (diff) | |
parent | ac91052f0ae5be9e46211ba92cc31c0e3b0a933a (diff) | |
download | linux-47c7efa4f0c335d039d9f5795022ba9b589cbe4a.tar.xz |
Merge tag 'probes-fixes-v6.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull probes fixes from Masami Hiramatsu:
- Clean up tprobe correctly when module unload
Tracepoint probes do not set TRACEPOINT_STUB on the 'tpoint' pointer
when unloading a module, thus they show as a normal 'fprobe' instead
of 'tprobe' and never come back
- Fix leakage of tprobe module refcount
When a tprobe's target module is loaded, it gets the module's
refcount in the module notifier but forgot to put it after
registering the probe on it.
Fix it by getting the refcount only when registering tprobe.
* tag 'probes-fixes-v6.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
tracing: tprobe-events: Fix leakage of module refcount
tracing: tprobe-events: Fix to clean up tprobe correctly when module unload
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions