diff options
author | David Ahern <dsahern@gmail.com> | 2013-08-07 21:56:39 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-08-12 09:31:05 -0400 |
commit | 9a6d316692d59c4400a66b01db675abac432b4b2 (patch) | |
tree | 221c828389dd9a602ce151a5df985b56b70fd5a8 /tools | |
parent | 70f7b4a7f3f9a46807b644aa0fcfa7daa0d553e4 (diff) |
perf kvm: Update documentation with live command
Update perf-kvm documentation with new live subcommand. Add -p/--pid
option for perf-kvm-stat-report as well.
Signed-off-by: David Ahern <dsahern@gmail.com>
Requested-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Runzhen Wang <runzhen@linux.vnet.ibm.com>
Cc: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1375926999-75129-2-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/Documentation/perf-kvm.txt | 46 |
1 files changed, 44 insertions, 2 deletions
diff --git a/tools/perf/Documentation/perf-kvm.txt b/tools/perf/Documentation/perf-kvm.txt index 326f2cb333cb..ac84db2d2334 100644 --- a/tools/perf/Documentation/perf-kvm.txt +++ b/tools/perf/Documentation/perf-kvm.txt | |||
@@ -13,6 +13,7 @@ SYNOPSIS | |||
13 | {top|record|report|diff|buildid-list} | 13 | {top|record|report|diff|buildid-list} |
14 | 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path> | 14 | 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path> |
15 | | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} | 15 | | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} |
16 | 'perf kvm stat [record|report|live] [<options>] | ||
16 | 17 | ||
17 | DESCRIPTION | 18 | DESCRIPTION |
18 | ----------- | 19 | ----------- |
@@ -50,6 +51,10 @@ There are a couple of variants of perf kvm: | |||
50 | 'perf kvm stat report' reports statistical data which includes events | 51 | 'perf kvm stat report' reports statistical data which includes events |
51 | handled time, samples, and so on. | 52 | handled time, samples, and so on. |
52 | 53 | ||
54 | 'perf kvm stat live' reports statistical data in a live mode (similar to | ||
55 | record + report but with statistical data updated live at a given display | ||
56 | rate). | ||
57 | |||
53 | OPTIONS | 58 | OPTIONS |
54 | ------- | 59 | ------- |
55 | -i:: | 60 | -i:: |
@@ -85,13 +90,50 @@ STAT REPORT OPTIONS | |||
85 | --vcpu=<value>:: | 90 | --vcpu=<value>:: |
86 | analyze events which occures on this vcpu. (default: all vcpus) | 91 | analyze events which occures on this vcpu. (default: all vcpus) |
87 | 92 | ||
88 | --events=<value>:: | 93 | --event=<value>:: |
89 | events to be analyzed. Possible values: vmexit, mmio, ioport. | 94 | event to be analyzed. Possible values: vmexit, mmio, ioport. |
90 | (default: vmexit) | 95 | (default: vmexit) |
91 | -k:: | 96 | -k:: |
92 | --key=<value>:: | 97 | --key=<value>:: |
93 | Sorting key. Possible values: sample (default, sort by samples | 98 | Sorting key. Possible values: sample (default, sort by samples |
94 | number), time (sort by average time). | 99 | number), time (sort by average time). |
100 | -p:: | ||
101 | --pid=:: | ||
102 | Analyze events only for given process ID(s) (comma separated list). | ||
103 | |||
104 | STAT LIVE OPTIONS | ||
105 | ----------------- | ||
106 | -d:: | ||
107 | --display:: | ||
108 | Time in seconds between display updates | ||
109 | |||
110 | -m:: | ||
111 | --mmap-pages=:: | ||
112 | Number of mmap data pages. Must be a power of two. | ||
113 | |||
114 | -a:: | ||
115 | --all-cpus:: | ||
116 | System-wide collection from all CPUs. | ||
117 | |||
118 | -p:: | ||
119 | --pid=:: | ||
120 | Analyze events only for given process ID(s) (comma separated list). | ||
121 | |||
122 | --vcpu=<value>:: | ||
123 | analyze events which occures on this vcpu. (default: all vcpus) | ||
124 | |||
125 | |||
126 | --event=<value>:: | ||
127 | event to be analyzed. Possible values: vmexit, mmio, ioport. | ||
128 | (default: vmexit) | ||
129 | |||
130 | -k:: | ||
131 | --key=<value>:: | ||
132 | Sorting key. Possible values: sample (default, sort by samples | ||
133 | number), time (sort by average time). | ||
134 | |||
135 | --duration=<value>:: | ||
136 | Show events other than HLT that take longer than duration usecs. | ||
95 | 137 | ||
96 | SEE ALSO | 138 | SEE ALSO |
97 | -------- | 139 | -------- |