Mobile/debug on maemo: Difference between revisions

Line 79: Line 79:
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 NOT return something like "oprofile not supported by kernel"
  opcontrol -status  # should NOT return something like "oprofile not supported by kernel"
* Install the debug packages
* Install debug packages
Still on the N810, from the X terminal, type :
<pre>
sudo gainroot
echo "deb http://repository.maemo.org/ diablo/sdk free non-free" >> /etc/apt/sources.list
apt-get update
yes | apt-get install maemo-debug-scripts
debug-dep-install /usr/bin/osso-xterm.launch
</pre>
::<i>The script should have installed most of debug packages excepts for "libaudiofile", "libesd", "libvte", "osso-xterm" and "zlib1g" for which no debug package are available.</i>


=DEBUG AND PROFILE=
=DEBUG AND PROFILE=