Build procedure for perfctr 1) download perfctr from http://user.it.uu.se/~mikpe/linux/perfctr/ 2) extract it to 3) copy a kernel tree to 4) cd 5) /update-kernel --patch=2.4.21-pre5 6) make distclean 7) diff between old and new kernel to build the patch