Re: kernel profiling in 2.1 ?

Linus Torvalds (
Sun, 17 May 1998 11:36:54 -0700 (PDT)

On Sun, 17 May 1998, Thomas Bogendoerfer wrote:
> I'm trying to find out, why every 2.1.x x > 72 kernel feels sluggish on
> my Alpha Noname. To get an idea where the problem could be, I enabled
> kernel profiling. But after fixing one bug in the kernel and serveral
> bugs in readprofile I've noticed that /proc/profile contains only zeroes
> besides the step value. After grepping through the kernel source it looks
> to me like there ins't any kernel profiling in 2.1.101. Is this true or
> did I miss something ?

It may be that the non-x86 profiling was broken - the profiling code was
moved into architecture-specific code in order to get it right on SMP. It
definitely works on x86, I'm using it occasionally (and it's sad how much
time is spent getting the kernel lock).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to