diff options
| author | sunliming <sunliming@kylinos.cn> | 2026-01-27 13:38:48 +0800 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-01-29 09:23:43 +0900 |
| commit | b8121b9cdce163cdf07f687dd9cac1182c5e6a21 (patch) | |
| tree | 6a237c629d853d0fe4b26933057fcf501ca0aa8d /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f76d1c41b609b3e8f727fe681b7dd36bab71e3c3 (diff) | |
| download | linux-b8121b9cdce163cdf07f687dd9cac1182c5e6a21.tar.gz linux-b8121b9cdce163cdf07f687dd9cac1182c5e6a21.zip | |
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 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
