On Wed, Sep 04, 2024 at 10:08:42AM +0200, Peter Zijlstra wrote: > On Tue, Sep 03, 2024 at 09:28:29PM -0700, Josh Poimboeuf wrote: > > Take a more generic approach: for the "array of structs" style sections, > > annotate each struct entry with a symbol containing the entry. This > > makes it easy for tooling to parse the data and avoids the fragility of > > hardcoding section details. > > > > (For the "array of pointers" style sections, no symbol is needed, as the > > format is already self-evident.) > > (so someone went and touched a ton of the alternative code recently, > this is going to need a rebase) > > This generates a metric ton of symbols and I'm not seeing you touch > kallsyms.c, do we want to explicitly drop these from a --all-symbols > build? I don't think it makes sense to have them in the final image, > right? Yes, good point. -- Josh