summaryrefslogtreecommitdiff
path: root/scripts/stackusage
blob: 56ef1ab670acc06700bf92fc322e0ae87831c511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0

outfile=""
now=`date +%s`

while [ $# -gt 0 ]
do
    case "$1" in
        -o)
	    outfile="$2"
	    shift 2;;
	-h)
	    echo "usage: $0 [-o outfile] <make options/args>"
	    exit 0;;
	*)  break;;
    esac
done

if [ -z "$outfile" ]
then
    outfile=`mktemp --tmpdir stackusage.$$.XXXX`
fi

KCFLAGS="${KCFLAGS} -fstack-usage" make "$@"

# Prepend directory name to file names, remove column information,
# make file:line/function/size/type properly tab-separated.
find . -name '*.su' -newermt "@${now}" -print |                     \
    xargs perl -MFile::Basename -pe                                 \
        '$d = dirname($ARGV); s#([^:]+:[0-9]+):[0-9]+:#$d/$1\t#;' | \
    sort -k3,3nr > "${outfile}"

echo "$0: output written to ${outfile}"
an title='2017-11-03 22:11:19 +0800'>2017-11-03crypto: gcm - move to generic async completionGilad Ben-Yossef 2017-09-22crypto: gcm - Use GCM IV size constantCorentin LABBE 2017-05-23crypto: gcm - wait for crypto op not signal safeGilad Ben-Yossef 2016-11-01crypto: skcipher - Get rid of crypto_spawn_skcipher2()Eric Biggers 2016-11-01crypto: skcipher - Get rid of crypto_grab_skcipher2()Eric Biggers 2016-10-25crypto: gcm - Fix error return code in crypto_gcm_create_common()Wei Yongjun 2016-10-02crypto: gcm - Fix IV buffer size in crypto_gcm_setkeyOndrej Mosnáček 2016-07-18crypto: gcm - Use skcipherHerbert Xu 2016-06-20crypto: gcm - Filter out async ghash if necessaryHerbert Xu 2015-09-02Merge branch 'for-4.3/sg' of git://git.kernel.dk/linux-blockLinus Torvalds 2015-08-17crypto: replace scatterwalk_sg_chain with sg_chainDan Williams 2015-08-17crypto: aead - Remove CRYPTO_ALG_AEAD_NEW flagHerbert Xu 2015-07-14crypto: gcm - Use new IV conventionHerbert Xu 2015-06-17crypto: gcm - Convert to new AEAD interfaceHerbert Xu 2015-05-22crypto: gcm - Use default null skcipherHerbert Xu 2015-05-13crypto: gcm - Use crypto_aead_set_reqsize helperHerbert Xu 2014-11-26crypto: include crypto- module prefix in templateKees Cook 2014-11-24crypto: prefix module autoloading with "crypto-"Kees Cook 2014-08-01crypto: Resolve shadow warningsMark Rustad 2013-10-07crypto: crypto_memneq - add equality testing of memory regions w/o timing leaksJames Yonan 2013-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Linus Torvalds 2013-04-25crypto: gcm - fix rfc4543 to handle async crypto correctlyJussi Kivilinna 2013-04-25crypto: gcm - make GMAC work when dst and src are differentJussi Kivilinna 2013-04-02crypto: gcm - fix assumption that assoc has one segmentJussi Kivilinna 2013-02-04crypto: use ERR_CASTJulia Lawall