diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-05-27 03:33:18 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-27 03:33:18 -0400 |
commit | 23ac9cbed82b00ca3520bb81dbe9ea3b7a936a1b (patch) | |
tree | b9f95362f92d025ed105a6f9136d88bcae888a44 /Documentation/perf_counter | |
parent | 16f762a2ac5ecf8a11f6f0332e46cc3459220da5 (diff) |
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>
Diffstat (limited to 'Documentation/perf_counter')
4 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/perf_counter/Documentation/perf-record.txt b/Documentation/perf_counter/Documentation/perf-record.txt index d07700e35eb..353db1bb98a 100644 --- a/Documentation/perf_counter/Documentation/perf-record.txt +++ b/Documentation/perf_counter/Documentation/perf-record.txt | |||
@@ -3,7 +3,7 @@ perf-record(1) | |||
3 | 3 | ||
4 | NAME | 4 | NAME |
5 | ---- | 5 | ---- |
6 | perf-record - Run a command and record its profile into output.perf | 6 | perf-record - Run a command and record its profile into perf.data |
7 | 7 | ||
8 | SYNOPSIS | 8 | SYNOPSIS |
9 | -------- | 9 | -------- |
@@ -13,7 +13,7 @@ SYNOPSIS | |||
13 | DESCRIPTION | 13 | DESCRIPTION |
14 | ----------- | 14 | ----------- |
15 | This command runs a command and gathers a performance counter profile | 15 | This command runs a command and gathers a performance counter profile |
16 | from it, into output.perf - without displaying anything. | 16 | from it, into perf.data - without displaying anything. |
17 | 17 | ||
18 | This file can then be inspected later on, using 'perf report'. | 18 | This file can then be inspected later on, using 'perf report'. |
19 | 19 | ||
diff --git a/Documentation/perf_counter/Documentation/perf-report.txt b/Documentation/perf_counter/Documentation/perf-report.txt index 64696a21810..49efe16c958 100644 --- a/Documentation/perf_counter/Documentation/perf-report.txt +++ b/Documentation/perf_counter/Documentation/perf-report.txt | |||
@@ -3,7 +3,7 @@ perf-report(1) | |||
3 | 3 | ||
4 | NAME | 4 | NAME |
5 | ---- | 5 | ---- |
6 | perf-report - Read output.perf (created by perf record) and display the profile | 6 | perf-report - Read perf.data (created by perf record) and display the profile |
7 | 7 | ||
8 | SYNOPSIS | 8 | SYNOPSIS |
9 | -------- | 9 | -------- |
@@ -19,7 +19,7 @@ OPTIONS | |||
19 | ------- | 19 | ------- |
20 | -i:: | 20 | -i:: |
21 | --input=:: | 21 | --input=:: |
22 | Input file name. (default: output.perf) | 22 | Input file name. (default: perf.data) |
23 | 23 | ||
24 | Configuration | 24 | Configuration |
25 | ------------- | 25 | ------------- |
diff --git a/Documentation/perf_counter/builtin-record.c b/Documentation/perf_counter/builtin-record.c index 68abfdf71d3..431077a6fb7 100644 --- a/Documentation/perf_counter/builtin-record.c +++ b/Documentation/perf_counter/builtin-record.c | |||
@@ -19,7 +19,7 @@ static int nr_cpus = 0; | |||
19 | static unsigned int page_size; | 19 | static unsigned int page_size; |
20 | static unsigned int mmap_pages = 16; | 20 | static unsigned int mmap_pages = 16; |
21 | static int output; | 21 | static int output; |
22 | static const char *output_name = "output.perf"; | 22 | static const char *output_name = "perf.data"; |
23 | static int group = 0; | 23 | static int group = 0; |
24 | static unsigned int realtime_prio = 0; | 24 | static unsigned int realtime_prio = 0; |
25 | static int system_wide = 0; | 25 | static int system_wide = 0; |
diff --git a/Documentation/perf_counter/builtin-report.c b/Documentation/perf_counter/builtin-report.c index 7f1255dcd22..e2712cd0631 100644 --- a/Documentation/perf_counter/builtin-report.c +++ b/Documentation/perf_counter/builtin-report.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #define SHOW_USER 2 | 18 | #define SHOW_USER 2 |
19 | #define SHOW_HV 4 | 19 | #define SHOW_HV 4 |
20 | 20 | ||
21 | static char const *input_name = "output.perf"; | 21 | static char const *input_name = "perf.data"; |
22 | static int input; | 22 | static int input; |
23 | static int show_mask = SHOW_KERNEL | SHOW_USER | SHOW_HV; | 23 | static int show_mask = SHOW_KERNEL | SHOW_USER | SHOW_HV; |
24 | 24 | ||