[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250122214819.49ace8ff@gandalf.local.home>
Date: Wed, 22 Jan 2025 21:48:19 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Nam Cao <namcao@...utronix.de>
Cc: Masami Hiramatsu <mhiramat@...nel.org>, naveen@...nel.org,
anil.s.keshavamurthy@...el.com, davem@...emloft.net,
linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
john.ogness@...utronix.de
Subject: Re: kprobe on local function
On Thu, 23 Jan 2025 03:42:24 +0100
Nam Cao <namcao@...utronix.de> wrote:
> So a similar solution for in-kernel code is kallsyms_on_each_match_symbol().
> But I expect register_kretprobe() to do that by itself; or at least report
> a failure if caller specifies the symbol name, but multiple symbols of the
> same name are found. Because at least to me, my code "looks correct and
> should work" but it doesn't.
I guess that could be an enhancement to the code.
Masami?
-- Steve
Powered by blists - more mailing lists