To use this program, there is no need to apply
kernel patches, although there are recommended.

If you do not apply the kernel patches, uncomment
the proper line in profil.c.

To apply the patches, copy sched.dif to linux/kernel
and main.dif to linux/init. Then apply the patches:

cd /usr/src/linux/init;
patch < main.dif;
cd /usr/src/linux/kernel:
patch < sched.dif;

These patches have been tested and used with linux 1.1.89,
but should work with later versions.

The program should compile whithout any problem (cc -o profil profil.c).
To run it, you need to have CONFIG_PROFILE enabled in the kernel.
It uses the file /usr/src/linux/System.map (this file is generated during
kernel compilation).

Report any problems, comments, flames to ramon@ie3.clubs.etsit.upm.es.
If there is any language mistake, please report it.

