Re: [BUGFIX PATCH 0/3] perf/probe: Fix available line bugs

From: Masami Hiramatsu
Date: Thu Oct 24 2019 - 19:23:02 EST


On Thu, 24 Oct 2019 17:23:27 -0300
Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:


> But why can't I probe this thing again?
>
> [root@quaco ~]# perf probe clear_tasks_mm_cpumask:0
> Probe point 'clear_tasks_mm_cpumask' not found.
> Error: Failed to add events.
> [root@quaco ~]# perf probe clear_tasks_mm_cpumask:1
> Failed to get entry address of clear_tasks_mm_cpumask
> Error: Failed to add events.
> [root@quaco ~]# perf probe clear_tasks_mm_cpumask:2
> Failed to get entry address of clear_tasks_mm_cpumask
> Error: Failed to add events.
> [root@quaco ~]# perf probe clear_tasks_mm_cpumask:11
> Failed to get entry address of clear_tasks_mm_cpumask
> Error: Failed to add events.
> [root@quaco ~]# perf probe clear_tasks_mm_cpumask:12
> Failed to get entry address of clear_tasks_mm_cpumask
> Error: Failed to add events.
> [root@quaco ~]# perf probe clear_tasks_mm_cpumask:13
> Failed to get entry address of clear_tasks_mm_cpumask
> Error: Failed to add events.
> root@quaco ~]#

Oops, it's a verification error in convert_to_trace_point().
I'll fix it too!

Thank you,


--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>