Skip to content
Snippets Groups Projects
Commit 70e97c02 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Branch HEAD

"sort -u" is only sorting and uniquifying on the first field, so it
discards all lines with the same stack depth...  Use "uniq" instead.
parent 642ba6f8
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ checkstack:
[ -f ${CSTK} -a ! -s ${CSTKO} ] && mv -f ${CSTK} ${CSTKO} || true
{ for MOD in $$(find . -name "*.ko"); do \
objdump -d $$MOD | perl build/checkstack.pl; \
done } | grep -v " bug " | sort -nru > ${CSTK}
done } | grep -v " bug " | sort -nr | uniq > ${CSTK}
[ -f ${CSTKO} ] && ! diff -u ${CSTKO} ${CSTK} || head -30 ${CSTK}
checkstack-update:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment