diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/Documentation/perf-kvm.txt | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/tools/perf/Documentation/perf-kvm.txt b/tools/perf/Documentation/perf-kvm.txt index 795322733c56..96a9a1dea727 100644 --- a/tools/perf/Documentation/perf-kvm.txt +++ b/tools/perf/Documentation/perf-kvm.txt | |||
@@ -24,10 +24,17 @@ There are a couple of variants of perf kvm: | |||
24 | of an arbitrary workload. | 24 | of an arbitrary workload. |
25 | 25 | ||
26 | 'perf kvm record <command>' to record the performance counter profile | 26 | 'perf kvm record <command>' to record the performance counter profile |
27 | of an arbitrary workload and save it into a perf data file. If both | 27 | of an arbitrary workload and save it into a perf data file. We set the |
28 | --host and --guest are input, the perf data file name is perf.data.kvm. | 28 | default behavior of perf kvm as --guest, so if neither --host nor --guest |
29 | If there is no --host but --guest, the file name is perf.data.guest. | 29 | is input, the perf data file name is perf.data.guest. If --host is input, |
30 | If there is no --guest but --host, the file name is perf.data.host. | 30 | the perf data file name is perf.data.kvm. If you want to record data into |
31 | perf.data.host, please input --host --no-guest. The behaviors are shown as | ||
32 | following: | ||
33 | Default('') -> perf.data.guest | ||
34 | --host -> perf.data.kvm | ||
35 | --guest -> perf.data.guest | ||
36 | --host --guest -> perf.data.kvm | ||
37 | --host --no-guest -> perf.data.host | ||
31 | 38 | ||
32 | 'perf kvm report' to display the performance counter profile information | 39 | 'perf kvm report' to display the performance counter profile information |
33 | recorded via perf kvm record. | 40 | recorded via perf kvm record. |