mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
perf_counter tools: Move from Documentation/perf_counter/ to tools/perf/
Several people have suggested that 'perf' has become a full-fledged tool that should be moved out of Documentation/. Move it to the (new) tools/ directory. Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
75b5032212
commit
864709302a
69 changed files with 0 additions and 0 deletions
20
tools/perf/builtin-list.c
Normal file
20
tools/perf/builtin-list.c
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* builtin-list.c
|
||||
*
|
||||
* Builtin list command: list all event types
|
||||
*
|
||||
* Copyright (C) 2009, Thomas Gleixner <tglx@linutronix.de>
|
||||
* Copyright (C) 2008-2009, Red Hat Inc, Ingo Molnar <mingo@redhat.com>
|
||||
*/
|
||||
#include "builtin.h"
|
||||
|
||||
#include "perf.h"
|
||||
|
||||
#include "util/parse-options.h"
|
||||
#include "util/parse-events.h"
|
||||
|
||||
int cmd_list(int argc, const char **argv, const char *prefix)
|
||||
{
|
||||
print_events();
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue