perf_counter tools: Rename output.perf to perf.data
output.perf is only output to perf-record - it's input to perf-report. So change it to a more direction-neutral name. Cc: 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> Cc: John Kacur <jkacur@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Родитель
16f762a2ac
Коммит
23ac9cbed8
|
@ -3,7 +3,7 @@ perf-record(1)
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
----
|
----
|
||||||
perf-record - Run a command and record its profile into output.perf
|
perf-record - Run a command and record its profile into perf.data
|
||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
|
@ -13,7 +13,7 @@ SYNOPSIS
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
This command runs a command and gathers a performance counter profile
|
This command runs a command and gathers a performance counter profile
|
||||||
from it, into output.perf - without displaying anything.
|
from it, into perf.data - without displaying anything.
|
||||||
|
|
||||||
This file can then be inspected later on, using 'perf report'.
|
This file can then be inspected later on, using 'perf report'.
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ perf-report(1)
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
----
|
----
|
||||||
perf-report - Read output.perf (created by perf record) and display the profile
|
perf-report - Read perf.data (created by perf record) and display the profile
|
||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
|
@ -19,7 +19,7 @@ OPTIONS
|
||||||
-------
|
-------
|
||||||
-i::
|
-i::
|
||||||
--input=::
|
--input=::
|
||||||
Input file name. (default: output.perf)
|
Input file name. (default: perf.data)
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
|
@ -19,7 +19,7 @@ static int nr_cpus = 0;
|
||||||
static unsigned int page_size;
|
static unsigned int page_size;
|
||||||
static unsigned int mmap_pages = 16;
|
static unsigned int mmap_pages = 16;
|
||||||
static int output;
|
static int output;
|
||||||
static const char *output_name = "output.perf";
|
static const char *output_name = "perf.data";
|
||||||
static int group = 0;
|
static int group = 0;
|
||||||
static unsigned int realtime_prio = 0;
|
static unsigned int realtime_prio = 0;
|
||||||
static int system_wide = 0;
|
static int system_wide = 0;
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#define SHOW_USER 2
|
#define SHOW_USER 2
|
||||||
#define SHOW_HV 4
|
#define SHOW_HV 4
|
||||||
|
|
||||||
static char const *input_name = "output.perf";
|
static char const *input_name = "perf.data";
|
||||||
static int input;
|
static int input;
|
||||||
static int show_mask = SHOW_KERNEL | SHOW_USER | SHOW_HV;
|
static int show_mask = SHOW_KERNEL | SHOW_USER | SHOW_HV;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче