public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Masami Hiramatsu <mhiramat@kernel.org>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Andrey Grodzovsky <andrey.grodzovsky@crowdstrike.com>
Subject: [IGIT PULL] ftrace: Update for v7.1
Date: Tue, 14 Apr 2026 06:10:34 -0400	[thread overview]
Message-ID: <20260414061034.7d94bd16@robin> (raw)


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

                 reply	other threads:[~2026-04-14 10:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260414061034.7d94bd16@robin \
    --to=rostedt@kernel.org \
    --cc=andrey.grodzovsky@crowdstrike.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox