diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2016-10-14 18:23:11 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-10-24 11:07:44 -0300 |
commit | 899735066a8d945b7ae56a34847298fd0dd2104b (patch) | |
tree | cda5f4c4311a99fd28db7722bd562e7e1f93e7d5 /tools/perf/scripts/python/futex-contention.py | |
parent | e7b32d12a287a79f2831c1246baf3de0aed95dcc (diff) |
perf tools: Use normal error reporting when processing PERF_RECORD_READ events
We already have handling for errors when processing PERF_RECORD_ events,
so instead of calling die() when not being able to alloc, propagate the
error, so that the normal UI exit sequence can take place, the user be
warned and possibly the terminal be properly reset to a sane mode.
Cc: Adrian Hunter <[email protected]>
Cc: Brice Goglin <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions