[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [PATCH v2 06/11] x86/unwind/orc: Convert global variables to static
From:       Steven Rostedt <rostedt () goodmis ! org>
Date:       2024-02-29 23:40:27
Message-ID: 20240229184027.45609c0f () gandalf ! local ! home
[Download RAW message or body]

On Wed, 28 Feb 2024 16:42:52 -0800
Josh Poimboeuf <jpoimboe@kernel.org> wrote:

> DWARF isn't needed for that.  Even the symbol table has it (as does
> System.map).  For both globals and statics.

Interesting enough, it is reported that if lookup_num_blocks is global,
crash returns the proper value. If it is static, it just returns "1", which
is incorrect (the correct value is around 60K).

-- Steve

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic