xfs
[Top] [All Lists]

Re: CONFIG_FRAME_POINTER and arch/i386/kernel/semaphore.c

To: "Keith Owens" <kaos@xxxxxxxxxxxxxxxxx>, "Rajagopal Ananthanarayanan" <ananth@xxxxxxx>
Subject: Re: CONFIG_FRAME_POINTER and arch/i386/kernel/semaphore.c
From: "John Hawkes" <hawkes@xxxxxxxxxxxx>
Date: Mon, 11 Dec 2000 17:09:53 -0800
Cc: <linux-xfs@xxxxxxxxxxx>
References: <1700.976576626@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
From: "Keith Owens" <kaos@xxxxxxxxxxxxxxxxx>
...
> For consistency I will add frame pointers to the routines
> that do not have it but recommend that frame pointers not be used.

As it turns out, kernprof's mcount functionality claims to need frame
pointers (to the point where the high-level kernel Makefile turns on
CONFIG_FRAME_POINTER if CONFIG_MCOUNT is set), yet the current version
0.9 of the kernprof patch doesn't mimic what the kdb patch does in
semaphore.c and insert the frame pointer instructions into the entry and
exit of those selected asm routines.  Unless someone tells me I'm wrong,
I'll add those CONFIG_FRAME_POINTER instructions into the kernprof
patch.

John Hawkes


<Prev in Thread] Current Thread [Next in Thread>