RE: [RFC] Dump interesting arch/platform info

From: Luck, Tony
Date: Mon Feb 01 2016 - 18:29:29 EST


> So the use case is you go, modprobe this thing and do
>
> cat /sys/kernel/debug/x86/archinfo
>
> Right now, it dumps only the GDT and even that is not fully done. But
> more interesting stuff should be added to it as need arises.
>
> Thoughts, ideas, suggestions?

On a high core count, multi-socket, machine I see almost 10K lines
of output from this. If you add other things it will become a bit
of a jumble to parse.

Perhaps the module name "archinfo" is fine, but each separate thing
it shows should get its own file. Starting with:

/sys/kernel/debug/x86/gdtinfo

for the current output?

-Tony