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

From: Pekka Enberg
Date: Fri Nov 20 2009 - 05:31:41 EST


Ingo Molnar kirjoitti:
* Pekka Enberg <penberg@xxxxxxxxxxxxxx> wrote:

Hi Ingo,

On Fri, Nov 20, 2009 at 11:01 AM, Ingo Molnar <mingo@xxxxxxx> 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?

Pekka
--
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/