diff options
| author | Ingo Molnar <mingo@elte.hu> | 2010-12-02 05:20:11 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2010-12-02 05:20:11 -0500 |
| commit | e4b546a3643fbfc510d5ef7db538e4d3ab00effb (patch) | |
| tree | 315d13bdb2dfb1149e44c85043c9d02dc7db219d | |
| parent | b3d006c0e745bfd2dab4984ffe3279d5cf4e926a (diff) | |
| parent | d7470b6afca85ed4388fff57fc9d89f5a3be02ff (diff) | |
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/core
| -rw-r--r-- | tools/perf/Documentation/perf-annotate.txt | 37 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-buildid-list.txt | 3 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-diff.txt | 19 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-kvm.txt | 8 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-lock.txt | 15 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-probe.txt | 2 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-record.txt | 17 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-report.txt | 49 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-sched.txt | 18 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-script.txt | 7 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-stat.txt | 39 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-test.txt | 2 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-top.txt | 28 | ||||
| -rw-r--r-- | tools/perf/builtin-diff.c | 2 | ||||
| -rw-r--r-- | tools/perf/builtin-stat.c | 146 |
15 files changed, 324 insertions, 68 deletions
diff --git a/tools/perf/Documentation/perf-annotate.txt b/tools/perf/Documentation/perf-annotate.txt index b2c63309a651..6f5a498608b2 100644 --- a/tools/perf/Documentation/perf-annotate.txt +++ b/tools/perf/Documentation/perf-annotate.txt | |||
| @@ -24,12 +24,47 @@ OPTIONS | |||
| 24 | --input=:: | 24 | --input=:: |
| 25 | Input file name. (default: perf.data) | 25 | Input file name. (default: perf.data) |
| 26 | 26 | ||
| 27 | -d:: | ||
| 28 | --dsos=<dso[,dso...]>:: | ||
| 29 | Only consider symbols in these dsos. | ||
| 30 | -s:: | ||
| 31 | --symbol=<symbol>:: | ||
| 32 | Symbol to annotate. | ||
| 33 | |||
| 34 | -f:: | ||
| 35 | --force:: | ||
| 36 | Don't complain, do it. | ||
| 37 | |||
| 38 | -v:: | ||
| 39 | --verbose:: | ||
| 40 | Be more verbose. (Show symbol address, etc) | ||
| 41 | |||
| 42 | -D:: | ||
| 43 | --dump-raw-trace:: | ||
| 44 | Dump raw trace in ASCII. | ||
| 45 | |||
| 46 | -k:: | ||
| 47 | --vmlinux=<file>:: | ||
| 48 | vmlinux pathname. | ||
| 49 | |||
| 50 | -m:: | ||
| 51 | --modules:: | ||
| 52 | Load module symbols. WARNING: use only with -k and LIVE kernel. | ||
| 53 | |||
| 54 | -l:: | ||
| 55 | --print-line:: | ||
| 56 | Print matching source lines (may be slow). | ||
| 57 | |||
| 58 | -P:: | ||
| 59 | --full-paths:: | ||
| 60 | Don't shorten the displayed pathnames. | ||
| 61 | |||
| 27 | --stdio:: Use the stdio interface. | 62 | --stdio:: Use the stdio interface. |
| 28 | 63 | ||
| 29 | --tui:: Use the TUI interface Use of --tui requires a tty, if one is not | 64 | --tui:: Use the TUI interface Use of --tui requires a tty, if one is not |
| 30 | present, as when piping to other commands, the stdio interface is | 65 | present, as when piping to other commands, the stdio interface is |
| 31 | used. This interfaces starts by centering on the line with more | 66 | used. This interfaces starts by centering on the line with more |
| 32 | samples, TAB/UNTAB cycles thru the lines with more samples. | 67 | samples, TAB/UNTAB cycles through the lines with more samples. |
| 33 | 68 | ||
| 34 | SEE ALSO | 69 | SEE ALSO |
| 35 | -------- | 70 | -------- |
diff --git a/tools/perf/Documentation/perf-buildid-list.txt b/tools/perf/Documentation/perf-buildid-list.txt index 01b642c0bf8f..5eaac6f26d51 100644 --- a/tools/perf/Documentation/perf-buildid-list.txt +++ b/tools/perf/Documentation/perf-buildid-list.txt | |||
| @@ -18,6 +18,9 @@ perf report. | |||
| 18 | 18 | ||
| 19 | OPTIONS | 19 | OPTIONS |
| 20 | ------- | 20 | ------- |
| 21 | -H:: | ||
| 22 | --with-hits:: | ||
| 23 | Show only DSOs with hits. | ||
| 21 | -i:: | 24 | -i:: |
| 22 | --input=:: | 25 | --input=:: |
| 23 | Input file name. (default: perf.data) | 26 | Input file name. (default: perf.data) |
diff --git a/tools/perf/Documentation/perf-diff.txt b/tools/perf/Documentation/perf-diff.txt index 20d97d84ea1c..6a9ec2b35310 100644 --- a/tools/perf/Documentation/perf-diff.txt +++ b/tools/perf/Documentation/perf-diff.txt | |||
| @@ -19,6 +19,18 @@ If no parameters are passed it will assume perf.data.old and perf.data. | |||
| 19 | 19 | ||
| 20 | OPTIONS | 20 | OPTIONS |
| 21 | ------- | 21 | ------- |
| 22 | -M:: | ||
| 23 | --displacement:: | ||
| 24 | Show position displacement relative to baseline. | ||
| 25 | |||
| 26 | -D:: | ||
| 27 | --dump-raw-trace:: | ||
| 28 | Dump raw trace in ASCII. | ||
| 29 | |||
| 30 | -m:: | ||
| 31 | --modules:: | ||
| 32 | Load module symbols. WARNING: use only with -k and LIVE kernel | ||
| 33 | |||
| 22 | -d:: | 34 | -d:: |
| 23 | --dsos=:: | 35 | --dsos=:: |
| 24 | Only consider symbols in these dsos. CSV that understands | 36 | Only consider symbols in these dsos. CSV that understands |
| @@ -42,7 +54,7 @@ OPTIONS | |||
| 42 | --field-separator=:: | 54 | --field-separator=:: |
| 43 | 55 | ||
| 44 | Use a special separator character and don't pad with spaces, replacing | 56 | Use a special separator character and don't pad with spaces, replacing |
| 45 | all occurances of this separator in symbol names (and other output) | 57 | all occurrences of this separator in symbol names (and other output) |
| 46 | with a '.' character, that thus it's the only non valid separator. | 58 | with a '.' character, that thus it's the only non valid separator. |
| 47 | 59 | ||
| 48 | -v:: | 60 | -v:: |
| @@ -50,6 +62,11 @@ OPTIONS | |||
| 50 | Be verbose, for instance, show the raw counts in addition to the | 62 | Be verbose, for instance, show the raw counts in addition to the |
| 51 | diff. | 63 | diff. |
| 52 | 64 | ||
| 65 | -f:: | ||
| 66 | --force:: | ||
| 67 | Don't complain, do it. | ||
| 68 | |||
| 69 | |||
| 53 | SEE ALSO | 70 | SEE ALSO |
| 54 | -------- | 71 | -------- |
| 55 | linkperf:perf-record[1] | 72 | linkperf:perf-record[1] |
diff --git a/tools/perf/Documentation/perf-kvm.txt b/tools/perf/Documentation/perf-kvm.txt index d004e19fe6d6..dd84cb2f0a88 100644 --- a/tools/perf/Documentation/perf-kvm.txt +++ b/tools/perf/Documentation/perf-kvm.txt | |||
| @@ -22,7 +22,7 @@ There are a couple of variants of perf kvm: | |||
| 22 | a performance counter profile of guest os in realtime | 22 | a performance counter profile of guest os in realtime |
| 23 | of an arbitrary workload. | 23 | of an arbitrary workload. |
| 24 | 24 | ||
| 25 | 'perf kvm record <command>' to record the performance couinter profile | 25 | 'perf kvm record <command>' to record the performance counter profile |
| 26 | of an arbitrary workload and save it into a perf data file. If both | 26 | of an arbitrary workload and save it into a perf data file. If both |
| 27 | --host and --guest are input, the perf data file name is perf.data.kvm. | 27 | --host and --guest are input, the perf data file name is perf.data.kvm. |
| 28 | If there is no --host but --guest, the file name is perf.data.guest. | 28 | If there is no --host but --guest, the file name is perf.data.guest. |
| @@ -40,6 +40,12 @@ There are a couple of variants of perf kvm: | |||
| 40 | 40 | ||
| 41 | OPTIONS | 41 | OPTIONS |
| 42 | ------- | 42 | ------- |
| 43 | -i:: | ||
| 44 | --input=:: | ||
| 45 | Input file name. | ||
| 46 | -o:: | ||
| 47 | --output:: | ||
| 48 | Output file name. | ||
| 43 | --host=:: | 49 | --host=:: |
| 44 | Collect host side performance profile. | 50 | Collect host side performance profile. |
| 45 | --guest=:: | 51 | --guest=:: |
diff --git a/tools/perf/Documentation/perf-lock.txt b/tools/perf/Documentation/perf-lock.txt index b317102138c8..921de259ea10 100644 --- a/tools/perf/Documentation/perf-lock.txt +++ b/tools/perf/Documentation/perf-lock.txt | |||
| @@ -24,6 +24,21 @@ and statistics with this 'perf lock' command. | |||
| 24 | 24 | ||
| 25 | 'perf lock report' reports statistical data. | 25 | 'perf lock report' reports statistical data. |
| 26 | 26 | ||
| 27 | OPTIONS | ||
| 28 | ------- | ||
| 29 | |||
| 30 | -i:: | ||
| 31 | --input=<file>:: | ||
| 32 | Input file name. | ||
| 33 | |||
| 34 | -v:: | ||
| 35 | --verbose:: | ||
| 36 | Be more verbose (show symbol address, etc). | ||
| 37 | |||
| 38 | -D:: | ||
| 39 | --dump-raw-trace:: | ||
| 40 | |||
