buildtools: make experimental symbol check lighter
authorDavid Marchand <david.marchand@redhat.com>
Mon, 12 Aug 2019 07:02:28 +0000 (09:02 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 9 Oct 2019 08:22:45 +0000 (10:22 +0200)
commit35860849cf13402cf4ed821f986f3f7720bf5046
tree892f9ad4f85b0fbbb4e545c8fe1ef5501252f7ba
parent8ac3591694e105d47968f5f29b8c19511f21e41c
buildtools: make experimental symbol check lighter

Dumping every object file for every symbol is too heavy.
Use a temporary storage.

Before:
$ rm -rf master && make defconfig O=master
$ time make EXTRA_CFLAGS=-g O=master
[...]
real 2m24.063s
user 1m16.985s
sys 1m46.372s

After:
$ rm -rf master && make defconfig O=master
$ time make EXTRA_CFLAGS=-g O=master
[...]
real 1m37.110s
user 0m49.417s
sys 0m51.803s

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
buildtools/check-experimental-syms.sh