[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220613151422.e2173f14909b9149fec8e0a6@linux-foundation.org>
Date: Mon, 13 Jun 2022 15:14:22 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Stephen Brennan <stephen.s.brennan@...cle.com>
Cc: Baoquan He <bhe@...hat.com>, linux-kernel@...r.kernel.org,
kexec@...ts.infradead.org,
Nick Desaulniers <ndesaulniers@...gle.com>,
Dave Young <dyoung@...hat.com>,
Kees Cook <keescook@...omium.org>,
Jiri Olsa <jolsa@...nel.org>,
Stephen Boyd <swboyd@...omium.org>,
Bixuan Cui <cuibixuan@...wei.com>,
David Vernet <void@...ifault.com>,
Vivek Goyal <vgoyal@...hat.com>,
Sami Tolvanen <samitolvanen@...gle.com>
Subject: Re: [PATCH 0/2] Expose kallsyms data in vmcoreinfo note
On Mon, 13 Jun 2022 14:59:44 -0700 Stephen Brennan <stephen.s.brennan@...cle.com> wrote:
> >> Related discussion around the BTF side of this:
> >> https://lore.kernel.org/bpf/586a6288-704a-f7a7-b256-e18a675927df@oracle.com/T/#u
> >>
> >> Some work-in-progress branches using this feature:
> >> https://github.com/brenns10/dwarves/tree/remove_percpu_restriction_1
> >> https://github.com/brenns10/drgn/tree/kallsyms_plus_btf
> >
> > What's the story on using gdb with this?
>
> There is no story with GDB as of yet. I was already familiar with the
> code of drgn when I started down this path, so that's what I used. Drgn
> happens to have a very extensible type system which made it quite simple
> to do. I'd love to see support for doing this with GDB, and might look
> into the feasibility of it, but it's not on my roadmap right now.
Naive question - could some standalone tool take this kallsyms-based
info, combine it with a core image and create a minimally-dwarfified
file which any debugger can munch on?
Powered by blists - more mailing lists