Re: [RFC][PATCH 1/2] perf: Add 'perf kmem' tool

Li Zefan
2009-11-20T09:15:17Z

Ingo Molnar wrote:
> * Li Zefan <lizf@cn.fujitsu.com> wrote:
>
>>> (2) doing "perf kmem record" on machine A (think embedded here) and
>>> then "perf kmem report" on machine B. I haven't tried kmemtrace-user
>>> for a while but it did support both of them quite nicely at some
>>> point.
>> Everything needed and machine-specific will be recorded in perf.data,
>> so this should already been supported. I'll try it.
>
> Right now the DSOs are not recorded in the perf.data - but it would be
> useful to add it and to turn perf.data into a self-sufficient capture of
> all relevant data, which can be analyzed on any box.
>

But still 'perf kmem' should function better than kmemtrace-user,
since the latter records no more than raw trace data.