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

From: Ingo Molnar
Date: Fri Nov 20 2009 - 03:56:01 EST



* Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:

> ---
> tools/perf/Makefile | 1 +
> tools/perf/builtin-kmem.c | 578 +++++++++++++++++++++++++++++++++++++++++++++
> tools/perf/builtin.h | 1 +
> tools/perf/perf.c | 27 +-
> 4 files changed, 594 insertions(+), 13 deletions(-)
> create mode 100644 tools/perf/builtin-kmem.c

btw., you might want to add it to command-list.txt as well (in a future
patch), so that 'kmem' shows up in the default 'perf' output.

Plus a Documentation/perf-kmem.txt file will make sure that 'perf help
kmem' and 'perf kmem --help' displays a help page, etc.

Thanks,

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