Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

From: Namhyung Kim
Date: Thu Apr 25 2013 - 01:46:13 EST


Hi Jovi,

On Wed, 24 Apr 2013 19:14:49 +0800, zhangwei wrote:
> On 2013/4/24 17:27, Namhyung Kim wrote:
>>> Also, have you given thought on how to execute both ftrace and the pmu
>>> counters? That is, to get a way to interleave the data?
>>
>> I didn't think about it yet. I just thought enabling event tracing in
>> ftrace and get the data along with the function tracing. I'm not sure
>> how they interfere each other when enabled at the same time.
>>
>> If that's not a valid concern, I think it's doable.
>
> There have ftrace:function event in tracing infrastructure, that event works in perf,
> but I'm not sure if it could enhance to showing function graph as this patchset did.
> perf record -e ftrace:function ls > /dev/null
> perf report

Yes, I know that.

When I asked to Steve that how I can use ftrace:funcgraph_{entry,exit}
as tracepoint events in perf tools, he said it'd be a non-trivial job
and need some amount of scary work. :)

Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/