mirror of
https://github.com/adulau/aha.git
synced 2024-12-26 10:46:11 +00:00
perf list: Fix large list output by using the pager
When /sys/kernel/debug is mounted the list can be imense, so use the pager like the other tools. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <20090812174459.GB3495@ghostprotocols.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
04da8a43da
commit
8f7a0dc516
1 changed files with 2 additions and 1 deletions
|
@ -10,11 +10,12 @@
|
|||
|
||||
#include "perf.h"
|
||||
|
||||
#include "util/parse-options.h"
|
||||
#include "util/parse-events.h"
|
||||
#include "util/cache.h"
|
||||
|
||||
int cmd_list(int argc __used, const char **argv __used, const char *prefix __used)
|
||||
{
|
||||
setup_pager();
|
||||
print_events();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue