[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220225083647.12ceb54b@gandalf.local.home>
Date: Fri, 25 Feb 2022 08:36:47 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Masami Hiramatsu <mhiramat@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>, x86@...nel.org,
joao@...rdrivepizza.com, hjl.tools@...il.com, jpoimboe@...hat.com,
andrew.cooper3@...rix.com, linux-kernel@...r.kernel.org,
ndesaulniers@...gle.com, keescook@...omium.org,
samitolvanen@...gle.com, mark.rutland@....com,
alyssa.milburn@...el.com, mbenes@...e.cz,
alexei.starovoitov@...il.com
Subject: Re: [PATCH v2 12/39] x86/ibt,ftrace: Search for __fentry__ location
On Fri, 25 Feb 2022 19:20:08 +0900
Masami Hiramatsu <mhiramat@...nel.org> wrote:
> > No. It only acts like ftrace_location_range(sym, sym_end) if the passed
> > in argument is the ip of the function (kallsyms returns offset = 0)
>
> Got it. So now ftrace_location() will return the ftrace address
> when the ip == func or ip == mcount-call.
Exactly! :-)
Are you OK with that?
-- Steve
Powered by blists - more mailing lists