$ cat /proc/kallsyms > /sdcard/guest.kallsyms
$ cat /proc/modules > /sdcard/guest.modules
$ cat /proc/modules > /sdcard/guest.modules
3. On the host OS:
3.1 Record
# perf kvm --host --guest --guestkallsyms=guest.kallsyms --guestmodules=guest.modules record -a
(The record will be saved to perf.data.kvm file under current directory.)
3.2 Report
# perf kvm --host --guest --guestkallsyms=guest.kallsyms --guestmodules=guest.modules report -i perf.data.kvm
Ref:
No comments:
Post a Comment