perf tests attr: Add proper return values

The record command now properly returns the status of the tracee if
there's any. We need to properly set the expected return value of the
tracee in the attr tests.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Richter <tmricht@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20170703145030.12903-10-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Jiri Olsa
2017-07-03 16:50:24 +02:00
committed by Arnaldo Carvalho de Melo
parent 44fed277f8
commit a72fe0afa1
24 changed files with 24 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
[config]
command = record
args = kill >/dev/null 2>&1
ret = 1
[event:base-record]