Re: [PATCH] [24/45] x86: Introduce frame_pointer() and stack_pointer()

From: Andi Kleen
Date: Mon Oct 01 2007 - 12:48:49 EST


On Saturday 22 September 2007 11:26:14 Christoph Hellwig wrote:
> On Fri, Sep 21, 2007 at 10:45:06PM +0200, Andi Kleen wrote:
> > From: jblunck@xxxxxxx
> > This patch defines frame_pointer() and stack_pointer() similar to the
> > already defined instruction_pointer(). Thus the oprofile code can be written
> > in a more readable fashion.
>
> Can we do these for all architectures, please? They're quite useful for
> non-trivial kprobes.

I'll leave that to the architecture maintainers. Besides many probably
don't have a frame pointer.

-Andi



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/