[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <551CBC5B.8030400@hitachi.com>
Date: Thu, 02 Apr 2015 12:49:47 +0900
From: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
CC: Peter Zijlstra <peterz@...radead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
David Ahern <dsahern@...il.com>, namhyung@...nel.org,
Jiri Olsa <jolsa@...hat.com>, Ingo Molnar <mingo@...nel.org>
Subject: Re: Re: [PATCH perf/core ] perf-probe: Fix to track down unnamed
union/structure members
(2015/04/01 23:41), Arnaldo Carvalho de Melo wrote:
> Em Wed, Apr 01, 2015 at 06:08:17PM +0900, Masami Hiramatsu escreveu:
>> Ping?
>
> <SNIP>
>
>>> With this patch, perf probe can access unnamed fields.
>>> -----
>>> #./perf probe -nfx ./perf lock__delete ops 'locked_ops=ops->locked.ops'
>>> Added new event:
>>> probe_perf:lock__delete (on lock__delete in /home/mhiramat/ksrc/linux-3/tools/perf/perf with ops locked_ops=ops->locked.ops)
>
>>> You can now use it in all perf tools, such as:
>
>>> perf record -e probe_perf:lock__delete -aR sleep 1
>>> -----
>
>>> The original report of this issue is: https://lkml.org/lkml/2015/3/5/431
>
> what am I doing wrong?
>
> [root@...andy ~]# perf probe ~acme/bin/perf lock__delete 'locked_ops=ops'
> Added new event:
> probe_perf:lock__delete (on lock__delete in /home/acme/bin/perf with locked_ops=ops)
>
> You can now use it in all perf tools, such as:
>
> perf record -e probe_perf:lock__delete -aR sleep 1
>
> [root@...andy ~]# perf probe -d probe_perf:*
> Removed event: probe_perf:lock__delete
> [root@...andy ~]# perf probe ~acme/bin/perf lock__delete 'locked_ops=ops->locked'
> Semantic error: locked must be referred by '.'
> Error: Failed to add events.
> [root@...andy ~]# perf probe ~acme/bin/perf lock__delete 'locked_ops=ops.locked'
> Semantic error: locked must be referred by '->'
> Error: Failed to add events.
> [root@...andy ~]# perf probe ~acme/bin/perf lock__delete 'locked_ops=ops->locked'
> Semantic error: locked must be referred by '.'
> Error: Failed to add events.
> [root@...andy ~]# perf probe ~acme/bin/perf lock__delete 'locked_ops=ops->locked.ops'
> Semantic error: locked must be referred by '.'
> Error: Failed to add events.
> [root@...andy ~]#
Oops, thank you for reporting!
I must miss something...
Thank you,
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Masami HIRAMATSU
Linux Technology Research Center, System Productivity Research Dept.
Center for Technology Innovation - Systems Engineering
Hitachi, Ltd., Research & Development Group
E-mail: masami.hiramatsu.pt@...achi.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists