2 # SPDX-License-Identifier: GPL-2.0+
4 # If this was a KCSAN run, collapse the reports in the various console.log
5 # files onto pairs of functions.
7 # Usage: kcsan-collapse.sh resultsdir
9 # Copyright (C) 2020 Facebook, Inc.
11 # Authors: Paul E. McKenney <paulmck@kernel.org>
13 if test -z "$TORTURE_KCONFIG_KCSAN_ARG"
17 cat $1/*/console.log |
19 sed -e 's/^\[[^]]*] //' |
22 sort -k1nr > $1/kcsan.sum