[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <411ad4f0-2551-d0e7-77b6-04e71d35f6e4@intel.com>
Date: Tue, 28 Feb 2023 11:53:43 +0100
From: Alexander Lobakin <aleksander.lobakin@...el.com>
To: Andrew Lunn <andrew@...n.ch>
CC: Vladimir Oltean <olteanv@...il.com>,
Rakesh Sankaranarayanan <rakesh.sankaranarayanan@...rochip.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<woojung.huh@...rochip.com>, <UNGLinuxDriver@...rochip.com>,
<f.fainelli@...il.com>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>
Subject: Re: [PATCH v2 net-next 3/5] net: dsa: microchip: add eth mac grouping
for ethtool statistics
From: Andrew Lunn <andrew@...n.ch>
Date: Mon, 27 Feb 2023 15:52:09 +0100
>>> Easiest way to see a disassembly (also has C code interleaved) would be
>>> this:
>>>
>>> make drivers/net/dsa/microchip/ksz_ethtool.lst
>>
>> Oh, nice! I didn't know Kbuild has capability of listing the assembly
>> code built-in. I was adding it manually to Makefiles when needed >_<
>> Thanks! :D
>
> You can also do
>
> make drivers/net/dsa/microchip/ksz_ethtool.o
> make drivers/net/dsa/microchip/ksz_ethtool.S
>
> etc to get any of the intermediary files from the build process.
>
> Also
>
> make drivers/net/dsa/microchip/
I was aware of this and .o, but didn't know about .lst and .S, hehe.
Yeah, this helps a lot. Sometimes I do
make W=1 <folder/file to recheck>
so that if a driver builds cleanly before my changes, it should do so
after them as well. `make W=1` for the whole kernel is still noisy
currently.
>
> will build everything in that subdirectory and below. That can be much
> faster, especially when you have an allmodconf configuration and it
> needs to check 1000s of modules before getting around to building the
> one module you just changed. FYI: the trailing / is important.
>
> Andrew
Thanks,
Olek
Powered by blists - more mailing lists