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

Ingo Molnar
2009-11-20T10:49:36Z

* Pekka Enberg <penberg@cs.helsinki.fi> wrote:

> Ingo Molnar kirjoitti:
> >* Pekka Enberg <penberg@cs.helsinki.fi> wrote:
> >
> >>Hi Ingo,
> >>
> >>On Fri, Nov 20, 2009 at 11:01 AM, Ingo Molnar <mingo@elte.hu> wrote:
> >>>But ... even without that, perf is really fast and is supposed to build
> >>>fine even in minimal (embedded) environments, so you can run it on the
> >>>embedded board too. That's useful to get live inspection features like
> >>>'perf top', 'perf stat' and 'perf probe' anyway.
> >>Maybe I'm just too damn lazy but if I don't go through the trouble of
> >>building my kernel on the box, I sure don't want to do that for perf
> >>either. [...]
> >
> >Well you'll need 'perf' on that box anyway, to be able to do 'perf
> >kmem record'.
>
> /me turns brains on
>
> You're right, of course. With kmemtrace-user, I just copied the raw
> trace file from /sys/kernel. I wonder if that's a good enough reason
> to keep kmemtrace bits around?

Not really. If then a light-weight recording app could be made but i'd
rather wait for actual usecases to pop up.

Ingo