diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2012-12-10 14:58:42 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-12-10 14:58:42 -0300 |
commit | c5d3d50da2e32441d65d63ac27a67197998668c5 (patch) | |
tree | ee6838b064599e0484749e360fd6a74c5d179da3 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7be5ebe8767eaa482e18f566de5f56c1519abf59 (diff) |
perf test: Fixup error reporting in basic mmap test
In two cases this test could detect an error, bail out but return zero.
Fix it by reporting -1 for failure.
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]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions