Re: [PATCH v2 00/12] Add build ID to stacktraces

From: peter enderborg
Date: Thu Mar 25 2021 - 07:07:09 EST


On 3/24/21 9:55 AM, Christoph Hellwig wrote:
> On Tue, Mar 23, 2021 at 07:04:31PM -0700, Stephen Boyd wrote:
>> x5 : 0000000000000000 x4 : 0000000000000001
>> x3 : 0000000000000008 x2 : ffffff93fef25a70
>> x1 : ffffff93fef15788 x0 : ffffffe3622352e0
>> Call trace:
>> lkdtm_WARNING+0x28/0x30 [lkdtm ed5019fdf5e53be37cb1ba7899292d7e143b259e]
>> direct_entry+0x16c/0x1b4 [lkdtm ed5019fdf5e53be37cb1ba7899292d7e143b259e]
> Yikes. No, please do not make the backtraces a complete mess for
> something that serves absolutely no need.

Would a "verbose" flag be acceptable solution?    Something like write 1 to /sys/kernel/debug/verbose_stack to get the extra info.

I think I see a need for it.