diff options
| author | 2026-01-27 13:38:48 +0800 | |
|---|---|---|
| committer | 2026-01-29 09:23:43 +0900 | |
| commit | b8121b9cdce163cdf07f687dd9cac1182c5e6a21 (patch) | |
| tree | 6a237c629d853d0fe4b26933057fcf501ca0aa8d /include/linux/clk/ssh:/git@git.zx2c4.com | |
| parent | kprobes: retry blocked optprobe in do_free_cleaned_kprobes (diff) | |
tracing: kprobe-event: Return directly when trace kprobes is empty
In enable_boot_kprobe_events(), it returns directly when trace kprobes is
empty, thereby reducing the function's execution time. This function may
otherwise wait for the event_mutex lock for tens of milliseconds on certain
machines, which is unnecessary when trace kprobes is empty.
Link: https://lore.kernel.org/all/20260127053848.108473-1-sunliming@linux.dev/
Signed-off-by: sunliming <sunliming@kylinos.cn>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'include/linux/clk/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
