[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTinB8eHU-Oy7QEkkmh88OKMfqrX2-Q@mail.gmail.com>
Date: Mon, 16 May 2011 16:58:40 +0800
From: Américo Wang <xiyou.wangcong@...il.com>
To: Catalin Marinas <catalin.marinas@....com>
Cc: ttlxzz ccc <boyzccc@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: 答复: problem with kmemleak
On Mon, May 16, 2011 at 4:53 PM, Catalin Marinas
<catalin.marinas@....com> wrote:
> On Mon, 2011-05-16 at 08:18 +0100, ttlxzz ccc wrote:
>> I'm very glad to find the reason of this problem. It's just because
>> the CONFIG_FRAME_POINTER is not set :).
>>
>> And in dump_stack() which is defined in arch/x86/kernel/dumpstack.c,
>> CONFIG_FRAME_POINTER control whether to get the bp.
>>
>> Now I enable CONFIG_FRAME_POINTER and I can see the full backtrace. :)
>
> It's good you found it. I thought STACKTRACE on x86_64 would set the
> necessary options like FRAME_POINTER so that it works properly. Kmemleak
> only sets STACKTRACE.
>
I am wondering why STACKTRACE doesn't select FRAME_POINTER on x86_64,
which seems necessary...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists