From: Jeff Dike <jdike@ka...> - 2002-11-15 17:04:04
> The moment I execute the UML binary, I get a "Profiling timer expired"
> This patch fixes the first case. The second one doesn't happen often,
> so it's not too bothersome...
Wrong fix. You don't have to do this for anything else you run gprof on,
so you shouldn't have to do it for UML.
I bet the real problem is that exec. Put that under #ifndef CONFIG_MODE_TT,
do the same for set_cmdline, and make sure UML doesn't frob SIGPROF anywhere
else, and gprof should just work.