# git rev-parse -q --verify ecfebf513989e2094d8677f91b6ccf06023c3bcc^{commit} ecfebf513989e2094d8677f91b6ccf06023c3bcc already have revision, skipping fetch # git checkout -q -f -B kisskb ecfebf513989e2094d8677f91b6ccf06023c3bcc # git clean -qxdf # < git log -1 # commit ecfebf513989e2094d8677f91b6ccf06023c3bcc # Author: Masahiro Yamada # Date: Mon Sep 26 18:02:29 2022 +0900 # # kallsyms: ignore __kstrtab_* and __kstrtabns_* symbols # # Every EXPORT_SYMBOL creates __kstrtab_* and __kstrtabns_*, which # consumes 15-20% of the kallsyms entries. # # For x86_64 defconfig, # # $ cat /proc/kallsyms | wc # 129527 388581 5685465 # $ cat /proc/kallsyms | grep __kstrtab | wc # 23489 70467 1187932 # # We already ignore __crc_* symbols populated by EXPORT_SYMBOL, so it # should be fine to ignore __kstrtab_* and __kstrtabns_* as well. # # This makes vmlinux a bit smaller. # # $ size vmlinux.before vmlinux.after # text data bss dec hex filename # 22785374 8559694 1413328 32758396 1f3da7c vmlinux.before # 22785374 8137806 1413328 32336508 1ed6a7c vmlinux.after # # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 ecfebf513989e2094d8677f91b6ccf06023c3bcc # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 # Build took: 0:53:30.640157