Wikia

Music Player Daemon Community Wiki

Oprofile

Talk0
544pages on
this wiki

Oprofile is a kernel based profiler on Linux. It is an excellent tool for system wide profiling. If MPD is slow, or you suspect it consumes too much CPU, we would like to see your oprofile report.

You have to use an oprofile enabled kernel. Most distributions ship oprofile as a kernel module. Load it with "modprobe oprofile".

Install the oprofile userspace utilities: "apt-get install oprofile" on Debian. Be sure to have a MPD with debugging symbols (package "mpd-dbg" on Debian).

Start MPD, and start the oprofile (as root):

opcontrol --reset
opcontrol --start

Now use MPD. Let it play something, trigger the problem where it consumes too much CPU. Let it run a few minutes. Then stop the oprofile:

opcontrol --stop

To generate the report, type:

opreport -g --symbols

Send this file to the mailing list or to the bug tracker.

See also Edit

Tuning

Advertisement | Your ad here

Photos

Add a Photo
138photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki