Skip to contentSkip to conversation

perf test: Remove leftover temp file left by one of the attr tests

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jan 25, 2013 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  68d20dc172df98a908c1a64fdf09745ded7ec935
Gitweb:     http://git.kernel.org/tip/68d20dc172df98a908c1a64fdf09745ded7ec935
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Wed, 12 Dec 2012 13:27:03 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 24 Jan 2013 16:40:07 -0300

perf test: Remove leftover temp file left by one of the attr tests

Instead of > /tmp/krava, direct it to /dev/null.

Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
---
 tools/perf/tests/attr/test-record-group1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/attr/test-record-group1 +1 -1
index 4d688a1..c5548d0 100644
@@ -1,6 +1,6 @@
 [config]
 command = record
-args    = -e '{cycles,instructions}' kill >/tmp/krava 2>&1
+args    = -e '{cycles,instructions}' kill >/dev/null 2>&1
 
 [event-1:base-record]
 fd=1