Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1675729

Re: [PATCH] tracing/kprobes: allow to create probe with a module name starting with a digit

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [PATCH] tracing/kprobes: allow to create probe with a module name starting with a digit
Date 2017-06-27 16:10 +0200
Message-ID <tWZlL-1Bo-1@gated-at.bofh.it> (permalink)
References <tV6B3-2JO-5@gated-at.bofh.it> <tWUcp-6mA-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

-- Steve

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] tracing/kprobes: allow to create probe with a module name starting with a digit Sabrina Dubroca <sd@queasysnail.net> - 2017-06-22 11:30 +0200
  Re: [PATCH] tracing/kprobes: allow to create probe with a module  name starting with a digit Masami Hiramatsu <mhiramat@kernel.org> - 2017-06-27 10:40 +0200
    Re: [PATCH] tracing/kprobes: allow to create probe with a module  name starting with a digit Steven Rostedt <rostedt@goodmis.org> - 2017-06-27 16:10 +0200
      Re: [PATCH] tracing/kprobes: allow to create probe with a module  name starting with a digit Masami Hiramatsu <mhiramat@kernel.org> - 2017-06-28 00:10 +0200

csiph-web