Re: Is it supported to perf probe data?

From: Masami Hiramatsu
Date: Mon Sep 20 2010 - 19:55:39 EST


Hi Luming,

(2010/09/20 17:03), Luming Yu wrote:
> Hi there,
>
> I need to analyze accessing pattern to a data in kernel. Wanna to
> check with you if perf probe can help to get that trace.

Yes, perf probe can add new trace events which can be used
from perf record/report/trace or ftrace as same as other pre-defined
trace events. Those new events can record variables as arguments too.
So you can define new events with accessed data, record it by perf record,
and see it by perf trace.

Thank you,
--
Masami HIRAMATSU
2nd Dept. Linux Technology Center
Hitachi, Ltd., Systems Development Laboratory
E-mail: masami.hiramatsu.pt@xxxxxxxxxxx
--
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/