Oprofile and VMware

Do not work together.

Oprofile is a system-wide profiler for linux. VMware is the virtualisation software by the company with the same name.

I’ve installed Oprofile on a Centos 5.1 virtual machine in VMware server (formerly known as GSX server), and try to get profile data. Nope. Nothing. Some investigation on the internet reveals that others already encountered this problem. Oprofile doesn’t work in a vmware-virtualised linux box. According to the search results, this also is the case with machines on ESX server.

Well, VMware server just runs as some processes on a physical machine. Why not try there? Using debian 4.0 aka “etch”…
Wrong again! Oprofile seems to run fine (meaning a kernel module is loaded and a daemon is started) and I can get results…but the running VMware virtual machines crash and are not startable anymore, until I shutdown Oprofile.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: