lkml.org 
[lkml]   [2010]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Is it supported to perf probe data?
From
On Tue, Sep 21, 2010 at 7:54 AM, Masami Hiramatsu
<masami.hiramatsu.pt@hitachi.com> wrote:
> 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.

e.g. I need to trace accessing to thread_info.flags of a specific task,
would you please show me an example how to do it.

Thanks,
Luming


\
 
 \ /
  Last update: 2010-09-21 03:21    [W:0.038 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site