* [IGIT PULL] ftrace: Update for v7.1
@ 2026-04-14 10:10 Steven Rostedt
0 siblings, 0 replies; only message in thread
From: Steven Rostedt @ 2026-04-14 10:10 UTC (permalink / raw)
To: Linus Torvalds
Cc: LKML, Masami Hiramatsu, Mathieu Desnoyers, Mark Rutland,
Andrey Grodzovsky
Linus,
ftrace updates for 7.1:
- Speed up ftrace_lookup_symbols() for single lookups
The kallsyms lookup in ftrace_lookup_symbols() does a linear search over
each symbol. This is fine when it must match multiple strings, but when
there's only a single string being searched for, using a binary search is
much more efficient. When a single string is passed in to search, use the
binary search method.
Please pull the latest ftrace-v7.1 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
ftrace-v7.1
Tag SHA1: d8d55b3c7933467836361e43916fc08c083d74cf
Head SHA1: 93e8fd1a565eb5d0c0bbcb18d00095ad255b6ecb
Andrey Grodzovsky (1):
ftrace: Use kallsyms binary search for single-symbol lookup
----
kernel/trace/ftrace.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
---------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-14 10:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-14 10:10 [IGIT PULL] ftrace: Update for v7.1 Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox