aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
blob: 56ef1ab670acc06700bf92fc322e0ae87831c511 (plain) (blame)
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}"
lass='insertions'>+36 2025-05-04drm/msm: Be more robust when HFI response times outConnor Abbott1-9/+26 2025-05-04drm/msm/gpu: Fix crash when throttling GPU immediately during bootStephan Gerhold1-0/+1 2025-05-04drm/ci: uprev mesaVignesh Raman5-8/+10 2025-05-02drm/msm/dsi: add DSI support for SA8775PAyushi Makhija2-0/+19 2025-05-02drm/msm/dsi: add DSI PHY configuration on SA8775PAyushi Makhija3-0/+30 2025-05-02dt-bindings: display: msm: document DSI controller and phy on SA8775PAyushi Makhija1-1/+180 2025-05-02dt-bindings: msm: dsi-controller-main: document the SA8775P DSI CTRLAyushi Makhija1-0/+2 2025-05-02dt-bindings: display: msm-dsi-phy-7nm: document the SA8775P DSI PHYAyushi Makhija1-0/+1 2025-05-02dt-bindings: display: msm: sm8350-mdss: Describe the CPU-CFG icc pathKonrad Dybcio1-1/+5 2025-05-02drm/msm/dp: reuse generic HDMI codec implementationDmitry Baryshkov6-170/+31 2025-05-02drm/msm/dpu: remove DSC feature bit for PINGPONG on SDM630Dmitry Baryshkov1-2/+2 2025-05-02drm/msm/dpu: drop TE2 definitionsDmitry Baryshkov7-40/+19 2025-05-02drm/msm/dpu: remove DSC feature bit for PINGPONG on MSM8953Dmitry Baryshkov1-2/+0 2025-05-02drm/msm/dpu: remove DSC feature bit for PINGPONG on MSM8917Dmitry Baryshkov1-1/+0 2025-05-02drm/msm/dpu: remove DSC feature bit for PINGPONG on MSM8937Dmitry Baryshkov1-2/+0 2025-05-02drm/msm/hdmi: use new helper for ACR tablesDmitry Baryshkov1-98/+9 2025-05-02drm/msm/hdmi: move msm_hdmi_audio_update() out of msm_hdmi_set_timings()Dmitry Baryshkov1-5/+3 2025-05-02drm/msm/dpu: add catalog entry for SAR2130PDmitry Baryshkov4-1/+437 2025-05-02drm/msm/dsi/phy: add configuration for SAR2130PDmitry Baryshkov3-0/+26 2025-05-02drm/msm/mdss: add SAR2130P device configurationDmitry Baryshkov1-0/+11