Re: [PATCH v2 net-next 3/5] net: dsa: microchip: add eth mac grouping for ethtool statistics
From: Vladimir Oltean
Date: Fri Feb 24 2023 - 16:54:01 EST
On Fri, Feb 24, 2023 at 05:07:01PM +0100, Alexander Lobakin wrote:
> It's not so common for people to show up back in the thread after you
> ask them to show godbolt / asm code comparison.
idk what godbolt is, but if it's some sort of online compiler, then I
suppose it's of limited usefulness for the Linux kernel.
Easiest way to see a disassembly (also has C code interleaved) would be
this:
make drivers/net/dsa/microchip/ksz_ethtool.lst
This is also useful to see precisely which instruction went boom in case
there's a NULL pointer dereference or something like that.