lkml.org 
[lkml]   [2017]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tracing/kprobes: allow to create probe with a module name starting with a digit
On Tue, 27 Jun 2017 10:07:45 -0400
Steven Rostedt <rostedt@goodmis.org> wrote:

> On Tue, 27 Jun 2017 17:38:30 +0900
> Masami Hiramatsu <mhiramat@kernel.org> wrote:
>
> > On Thu, 22 Jun 2017 11:24:42 +0200
> > Sabrina Dubroca <sd@queasysnail.net> wrote:
> >
> > > Always try to parse an address, since kstrtoul() will safely fail when
> > > given a symbol as input. If that fails (which will be the case for a
> > > symbol), try to parse a symbol instead.
> > >
> > > This allows creating a probe such as:
> > >
> > > p:probe/vlan_gro_receive 8021q:vlan_gro_receive+0
> > >
> > > Which is necessary for this command to work:
> > >
> > > perf probe -m 8021q -a vlan_gro_receive
> > >
> >
> > Ah, I forgot that case.
> > Nice catch!
> >
> > Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
> >
>
> Thanks Masami,
>
> I can take this. Should this go to stable?

Yes, it should go to stable.

Thank you,

--
Masami Hiramatsu <mhiramat@kernel.org>

\
 
 \ /
  Last update: 2017-06-28 00:05    [W:0.052 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site