• 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
profile.c 2.53 KB