Comment 146 for bug 803943

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

OK, here's a quick guide to recording a performance profile of compiz that we might be able to use...

1. INSTALLATION
sudo apt-get install linux-tools-common
Then you also need the package specific for your kernel. You can find out what it is called by running "perf". That will tell you what you need.

2. RECORD PERFORMANCE
Start this and let it run for a while:
    perf record -p `pidof compiz`
Then stop it with Ctrl+C.

3. CREATE A REPORT
In the same directory (where perf record created file 'perf.data'), run:
    perf report > compizperf.txt

And attach the file compizperf.txt to this bug.

It's quite possible that this kind of simple flat profile won't help us. If that's true then you just need to add the -g flag to the perf record command. But don't do that yet.