[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131011071020.15557.20050.stgit@udc4-manage.rcp.hitachi.co.jp>
Date: Fri, 11 Oct 2013 16:10:20 +0900
From: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
To: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Cc: Ingo Molnar <mingo@...hat.com>, Paul Mackerras <paulus@...ba.org>,
lkml <linux-kernel@...r.kernel.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: [PATCH -tip 0/2] Perf Probe updates
Here is a cuple of patches to update perf probe for supporting
meta arguments for local variables.
With this updates we can use $vars as a probe event argument
for all available local variables at that address.
And also, I've found an issue about variable location.
With -fentry, since the variable available address range has
skipped the mcount call instruction at the function entry,
`perf probe --vars a_function_with_mcount` always failed to
find available variables. This also disabled $vars at the
function entry which is for tracing function parameters.
The second patch tries to fix this issue by searching
variables from the entry address of the function. Note
that this works only for function parameters (not for auto
varibales, because those are not initialized yet at the
function entry).
Thank you,
---
Masami Hiramatsu (2):
perf probe: Support "$vars" meta argument syntax for local variables
perf probe: Find fentry mcount fuzzed parameter location
tools/perf/util/probe-event.c | 1
tools/perf/util/probe-finder.c | 133 +++++++++++++++++++++++++++++++++++-----
tools/perf/util/probe-finder.h | 1
3 files changed, 119 insertions(+), 16 deletions(-)
--
--
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