perf kmem: Show usage if no option is specified
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 10 Dec 2009 07:21:57 +0000 (15:21 +0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 10 Dec 2009 07:30:27 +0000 (08:30 +0100)
commit90b86a9f7dc22e7ff8e8c79ed553860454ff8dd9
tree3cb7015aa85ed6410eb9947f9bfd607f74f36f95
parent1bbfa6f25673019dc0acc9308b667c96f6cda8bf
perf kmem: Show usage if no option is specified

As Ingo suggested, make "perf kmem" show help information.
"perf kmem stat [--caller] [--alloc] .." will show memory
statistics.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <4B20A195.8030106@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Documentation/perf-kmem.txt
tools/perf/builtin-kmem.c