Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts/tags.sh: improve compiled sources generation

Use grep instead of sed for all compiled sources generation, it is three
times more efficient.

Signed-off-by: Jialu Xu <xujialu@vimux.org>
Tested-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20230601010402.71040-1-xujialu@vimux.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jialu Xu and committed by
Greg Kroah-Hartman
82089b00 dbf87ab2

+1 -1
+1 -1
scripts/tags.sh
··· 98 98 { 99 99 echo include/generated/autoconf.h 100 100 find $ignore -name "*.cmd" -exec \ 101 - sed -n -E 's/^source_.* (.*)/\1/p; s/^ (\S.*) \\/\1/p' {} \+ | 101 + grep -Poh '(?<=^ )\S+|(?<== )\S+[^\\](?=$)' {} \+ | 102 102 awk '!a[$0]++' 103 103 } | xargs realpath -esq $([ -z "$KBUILD_ABS_SRCTREE" ] && echo --relative-to=.) | 104 104 sort -u