perf top: Reduce default filter threshold
authorIngo Molnar <mingo@elte.hu>
Thu, 4 Jun 2009 06:53:05 +0000 (08:53 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Jun 2009 07:02:12 +0000 (09:02 +0200)
commit6e53cdf11dfc8d302ebb67e7112d1baf8d7c66d4
tree0a883faa7e870ccac443a0697b66c4a6f275fe3a
parenta4c43beaff0fe6c83aa2505dce8ffe65db8e0a33
perf top: Reduce default filter threshold

On idle systems 'perf top' comes up empty by default, because the event
count filter is set to 100.

Reduce it to 5 instead.

Also add an option to limit the number of functions displayed.

Reported-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-top.c