[IGIT PULL] ftrace: Update for v7.1

From: Steven Rostedt

Date: Tue Apr 14 2026 - 06:12:23 EST



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(+)
---------------------------