Re: kernel COMPILE 2.4.18 error



yogesh_pune_pict <yogesh_tillu2003@xxxxxxxxxxx> wrote:
> init/main.c : in function 'profile_setup':
> init/main.c :144 : 'prof_shift' undeclared (first use in this function)
> init/main.c :144 : (each undeclared identifier reported only once)
> init/main.c :in function 'start_kernel':

>From the names and positins, I would guess that you have enabled
profiling in the kernel. Don't do that.

Or rather, if you do do that, do it because you are CAPABLE of dealing
with it.

In summary - whatever you are doing, tell us about it, then stop doing
it.

Peter
.



Relevant Pages

  • Re: [RFC] Create kinst/ or ki/ directory ?
    ... marking up the code is required for both profiling and tracing. ... only the code that is called from that markup site that differs. ... could have to be modified to follow the kernel tree. ...
    (Linux-Kernel)
  • Re: realtime-preempt-2.6.12-final-V0.7.51-11 glitches [no more]
    ... -51-16 kernel, previous kernels had a condition where interrupt storms ... and create a script like this to capture a kernel profile ... This type of profiling is very low-overhead so it ... Such tracing will also show ...
    (Linux-Kernel)
  • Re: [patch 10/10] Scheduler profiling - Use immediate values
    ... condition for scheduler profiling call. ... but how many of the vanilla kernel users ... distros kernel with a CONFIG option under the pretext that no profiling ... during normal operation - these are _debug_ tools. ...
    (Linux-Kernel)
  • Re: [PATCH] remove LOCK_SECTION from x86_64 spin_lock asm
    ... > inferior kernel. ... I was talking about call graph profiling, ... >> unwind interpretation will have much more overhead. ... The whole problem only happens on kernels using frame pointer. ...
    (Linux-Kernel)
  • Re: realtime-preempt-2.6.12-final-V0.7.51-11 glitches [no more]
    ... and create a script like this to capture a kernel profile ... This type of profiling is very low-overhead so it ... - `readprofile -a` gives the whole kernel symbol list, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)