Re: [RFC 0/5] kernel: backtrace unwind support

From: Arnaldo Carvalho de Melo
Date: Fri Feb 10 2012 - 14:42:42 EST


Em Fri, Feb 10, 2012 at 05:39:32PM -0200, Arnaldo Carvalho de Melo escreveu:
> Em Fri, Feb 10, 2012 at 11:32:42AM -0800, Linus Torvalds escreveu:
> > On Fri, Feb 10, 2012 at 11:27 AM, Arnaldo Carvalho de Melo
> > > "Vote for --fno-omit-frame-pointer! One register is a cheap price to pay
> > > for not going insane!"

> > > /me goes back to non political things.

> > Even with -fomit-frame-pointer (which seems to be a big deal on Atom
> > in particular)
>
> Nah, on such register starved arches we just do what we do today: try to
> figure out bogus addresses and bail out.

And the "interesting" thing is that at least on:

[acme@aninha linux]$ cat /etc/fedora-release
Fedora release 14 (Laughlin)
[acme@aninha linux]$ uname -p
i686

I have -fno-omit-frame-pointer and get nice callchains, but if I try it
on fedora x86_64... b00m. Go figure.

- Arnaldo
--
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/