diff options
| author | David Carlier <devnexen@gmail.com> | 2026-11-07 10:12:32 +0000 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-11-08 00:27:01 +0900 |
| commit | be94710b1f6ba1bea33e73129c110af80e999b2d (patch) | |
| tree | 52d0ce576a7b74070dab0e18b8cf2382de7c0ed6 /include/linux/debugobjects.h | |
| parent | 2fc0b3070d6d5dcecfed43cd0e62aa0fd4b4315c (diff) | |
tracing/eprobe: Install the trigger for every instance that enables the eprobe
The eprobe trigger lives in the instance of the enabling file, but it is
only added when the eprobe is first enabled and only removed when the
last file goes away. A second instance then records nothing, and the
first instance's trigger is left behind once the eprobe is disabled
there, so the eprobe can be deleted while that trigger still uses it.
Add and remove the trigger for each file. The file is never NULL here,
so warn if it is and drop the dead perf paths.
Link: https://lore.kernel.org/all/20261107101233.151434-1-devnexen@gmail.com/
Fixes: 7491e2c44278 ("tracing: Add a probe that attaches to trace events")
Cc: stable@vger.kernel.org
Signed-off-by: David Carlier <devnexen@gmail.com>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
