176
edits
| Line 75: | Line 75: | ||
yes | apt-get install oprofile | yes | apt-get install oprofile | ||
echo "user ALL = NOPASSWD: /usr/bin/opcontrol" >> /etc/sudoers | echo "user ALL = NOPASSWD: /usr/bin/opcontrol" >> /etc/sudoers | ||
opcontrol --init | |||
</pre> | </pre> | ||
Before going further, let's see if your kernel is oprofile-enabled (it should be since you flashed the new kernel image in step 1). | Before going further, let's see if your kernel is oprofile-enabled (it should be since you flashed the new kernel image in step 1). | ||
opcontrol -status # should return | opcontrol -status # should NOT return something like "oprofile not supported by kernel" | ||
* Install the debug packages | * Install the debug packages | ||
=DEBUG AND PROFILE= | =DEBUG AND PROFILE= | ||
edits