[PATCH] runtime kernel profile enabling/disabling

From: John V . Baboval (jbaboval@mclinux.com)
Date: Tue May 09 2000 - 12:53:46 EST


This is a patch to 2.3.99pre6 which allows enabling/disabling kernel
profiling through /proc/sys/kernel/prof_shift

To enable profiling set prof_shift to the value you would use in the
profile= boot paramater. To disable profiling, set prof_Shift to 0.

Please test/comment. I also have this implemented as a new system call if
that would be a better way to do this.

-- 
-John
baboval@missioncriticallinux.com



- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:14 EST