diff options
author | Adrian Hunter <[email protected]> | 2016-03-07 16:44:40 -0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-03-08 10:11:17 +0100 |
commit | 570735b33d122bcb259ef67c6aa63e5609af5752 (patch) | |
tree | 9529efb06656897e81b639a8cc723e4ebe1568c2 /tools/perf/scripts/python/stackcollapse.py | |
parent | 5fb0ac16c5091f48eecf1a77e461f6957a463d61 (diff) |
perf jit: Let jit_process() return errors
In preparation for moving clockid validation into jit_process().
Previously a return value of zero meant the processing had been done and
non-zero meant either the processing was not done (i.e. not the jitdump
file mmap event) or an error occurred.
Change it so that zero means the processing was not done, one means the
processing was done and successful, and negative values are an error.
Signed-off-by: Adrian Hunter <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions