• Andrew Morton's avatar
    [PATCH] Allow for profile_buf size = kernel text size · 832eb7cf
    Andrew Morton authored
    Patch from Ravikiran G Thirumalai <kiran@in.ibm.com>
    
    Allows the kernel profiler to use a shift value of zero for
    high-resolution profiling.
    
    So instead of overloading a shift of zero to mean "not profiling", use
    a separate flag for that.
    
    This means that anyone who is currently using "profile=0" to disable
    profiling has accidentally turned profiling on, so I added a printk.
    832eb7cf
proc_misc.c 16.5 KB