Re: [RFC] improve_stack: make stack dump output useful again

From: Dave Jones
Date: Fri Mar 14 2014 - 16:09:09 EST


On Fri, Mar 14, 2014 at 12:32:23PM -0700, Linus Torvalds wrote:
> On Fri, Mar 14, 2014 at 12:08 PM, Dave Jones <davej@xxxxxxxxxx> wrote:
> >
> > ok, nokalsr makes it work too.
> > Booting with that and using the perf binary from 3.14rc6 , I just see..
> >
> > 9.30% [kernel] [k] 0xffffffffaf18e887
>
> Hmm. Do you have CONFIG_KALLSYMS enabled?

$ grep KALLSYMS .config
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y

mine looks like this.. http://codemonkey.org.uk/junk/kallsyms

> I have CONFIG_RANDOMIZE_BASE=y and perf (both report and top) seems to
> work fine for me (current git, not v3.14-rc6, but still)

yeah, on current now too.

CONFIG_RANDOMIZE_BASE=y
CONFIG_RANDOMIZE_BASE_MAX_OFFSET=0x40000000


Dave

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