]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/bloat-o-meter: add -p argument
authorNikolay Borisov <nborisov@suse.com>
Fri, 1 Jul 2022 11:35:13 +0000 (14:35 +0300)
committerakpm <akpm@linux-foundation.org>
Mon, 18 Jul 2022 00:31:40 +0000 (17:31 -0700)
commit95208f5069737a287e7521d4fa6054f5fc953e17
tree1a1a5836e7fa58b90355de5d2c83688a6d69b84d
parentf0ece466383cb38ce9584bc34ec4dc82eb44fee7
scripts/bloat-o-meter: add -p argument

When doing cross platform development on a machine sometimes it might be
useful to invoke bloat-o-meter for files which haven't been build with the
native toolchain.  In cases when the host nm doesn't support the target
one then a toolchain-specific nm could be used.  Add this ability by
adding the -p allowing invocations as:

./scripts/bloat-o-meter -p riscv64-unknown-linux-gnu- file1.o file2.o

Link: https://lkml.kernel.org/r/20220701113513.1938008-2-nborisov@suse.com
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/bloat-o-meter