diff options
| author | Jiri Olsa <[email protected]> | 2014-08-11 10:50:07 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-08-13 12:42:24 -0300 |
| commit | 4a1a99712a8a13d97e9de818869bf1b88583d6bc (patch) | |
| tree | f56ff73864bd93281e4ccd1f872d6fb59bc8c71b /tools/perf/scripts/python | |
| parent | 9398c484f8abc8d287cb90f5a33dd43ac26f24ef (diff) | |
perf top: Setup signals for terminal output
The TUI code setup standard signals handling, while the stdio display
code does not. This leads to premature termination of display thread
when signal is received and leaving terminal in wrong state.
Also adding terminal cleanup at the end of display thread, to ensure we
get the old terminal state in case of signal interruption.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jean Pihet <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions