diff options
-rw-r--r-- | tools/perf/perf-archive.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/perf-archive.sh b/tools/perf/perf-archive.sh index 45fbe2f07b15..910468e6e01c 100644 --- a/tools/perf/perf-archive.sh +++ b/tools/perf/perf-archive.sh | |||
@@ -9,8 +9,9 @@ fi | |||
9 | 9 | ||
10 | DEBUGDIR=~/.debug/ | 10 | DEBUGDIR=~/.debug/ |
11 | BUILDIDS=$(mktemp /tmp/perf-archive-buildids.XXXXXX) | 11 | BUILDIDS=$(mktemp /tmp/perf-archive-buildids.XXXXXX) |
12 | NOBUILDID=0000000000000000000000000000000000000000 | ||
12 | 13 | ||
13 | perf buildid-list -i $PERF_DATA --with-hits > $BUILDIDS | 14 | perf buildid-list -i $PERF_DATA --with-hits | grep -v "^$NOBUILDID " > $BUILDIDS |
14 | if [ ! -s $BUILDIDS ] ; then | 15 | if [ ! -s $BUILDIDS ] ; then |
15 | echo "perf archive: no build-ids found" | 16 | echo "perf archive: no build-ids found" |
16 | rm -f $BUILDIDS | 17 | rm -f $BUILDIDS |