Assume you downloaded the spatch program, from here. http://coccinelle.lip6.fr/distrib/coccinelle-1.0.0-rc22-bin-x86.tgz. /root/coccinelle-1.0.0-rc22/spatch -I /root/coccinelle-1.0.0-rc22 --sp-file util/spatch/poor-ftrace.cocci src/lib/hardwaremain.c --in-place. is one example. ron