Red Hat Enterprise Linux 6 VMWare で "perf top" コマンドを実行しても期待される出力結果が表示されない
Issue
ベアメタル RHEL 6 サーバーで "perf top" を実行すると、以下のような出力結果が提供されます。
$ perf top
...
PerfTop: 204 irqs/sec kernel:64.7% exact:0.0% [1000Hz cycles], (all, 4 CPUs)
---------------------------------------------------------------------------------------------------
samples pcnt function DSO
_______ _____ ___________________________ _______________________
57.00 4.9% _raw_spin_lock_irqsave [kernel.kallsyms]
41.00 3.5% vfprintf /lib64/libc-2.14.90.so
36.00 3.1% native_read_tsc [kernel.kallsyms]
31.00 2.7% __memset_sse2 /lib64/libc-2.14.90.so
31.00 2.7% __schedule [kernel.kallsyms]
30.00 2.6% update_cfs_shares [kernel.kallsyms]
29.00 2.5% vmx_vcpu_run [kvm_intel]
...
ただし、この VMWare ゲストで perf top を実行しても情報は提供されません。
$ perf top
...
PerfTop: 0 irqs/sec kernel:-nan% exact:-nan% [1000Hz cycles], (all, 4 CPUs)
---------------------------------------------------------------------------------------------------------------------------------------------
samples pcnt DSO
_______ _____
...
Environment
- Red Hat Enterprise Linux 6 - x86 and x86-64 architecture
- VMWare ESX 5.0.x or older
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
