1PERF-KVM(1)                       perf Manual                      PERF-KVM(1)
2
3
4

NAME

6       perf-kvm - Tool to trace/measure kvm guest os
7

SYNOPSIS

9       perf kvm [--host] [--guest] [--guestmount=<path>
10               [--guestkallsyms=<path> --guestmodules=<path> | --guestvmlinux=<path>]]
11               {top|record|report|diff|buildid-list}
12       perf kvm [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path>
13               | --guestvmlinux=<path>] {top|record|report|diff|buildid-list}
14

DESCRIPTION

16       There are a couple of variants of perf kvm:
17
18           'perf kvm [options] top <command>' to generates and displays
19           a performance counter profile of guest os in realtime
20           of an arbitrary workload.
21
22           'perf kvm record <command>' to record the performance couinter profile
23           of an arbitrary workload and save it into a perf data file. If both
24           --host and --guest are input, the perf data file name is perf.data.kvm.
25           If there is  no --host but --guest, the file name is perf.data.guest.
26           If there is no --guest but --host, the file name is perf.data.host.
27
28           'perf kvm report' to display the performance counter profile information
29           recorded via perf kvm record.
30
31           'perf kvm diff' to displays the performance difference amongst two perf.data
32           files captured via perf record.
33
34           'perf kvm buildid-list' to  display the buildids found in a perf data file,
35           so that other tools can be used to fetch packages with matching symbol tables
36           for use by perf report.
37

OPTIONS

39       --host=
40           Collect host side performance profile.
41
42       --guest=
43           Collect guest side performance profile.
44
45       --guestmount=<path>
46           Guest os root file system mount directory. Users mounts guest os
47           root directories under <path> by a specific filesystem access
48           method, typically, sshfs. For example, start 2 guest os. The one’s
49           pid is 8888 and the other’s is 9999. #mkdir /guestmount;
50           cd/guestmount #sshfs -o allow_other,direct_io -p 5551 localhost:/
51           8888/ #sshfs -o allow_other,direct_io -p 5552 localhost:/ 9999/
52           #perf kvm --host --guest --guestmount=~/guestmount top
53
54       --guestkallsyms=<path>
55           Guest os /proc/kallsyms file copy.  perf kvm' reads it to get guest
56           kernel symbols. Users copy it out from guest os.
57
58       --guestmodules=<path>
59           Guest os /proc/modules file copy.  perf kvm' reads it to get guest
60           kernel module information. Users copy it out from guest os.
61
62       --guestvmlinux=<path>
63           Guest os kernel vmlinux.
64

SEE ALSO

66       perf-top(1), perf-record(1), perf-report(1), perf-diff(1), perf-
67       buildid-list(1)
68
69
70
71perf 2.6.35.14-106.fc             11/23/2011                       PERF-KVM(1)
Impressum