Re: [PATCH v2 06/11] x86/unwind/orc: Convert global variables to static

From: Steven Rostedt
Date: Thu Feb 29 2024 - 18:38:28 EST


On Wed, 28 Feb 2024 16:42:52 -0800
Josh Poimboeuf <jpoimboe@xxxxxxxxxx> 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