diff options
| author | Jiri Olsa <[email protected]> | 2014-08-11 10:50:09 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-08-13 12:42:24 -0300 |
| commit | d5b4130ae636e1fd0eaaea7152170198c34fbf62 (patch) | |
| tree | 44aa8fecb53c1f2054abe539b994adda8828743f /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 4a1a99712a8a13d97e9de818869bf1b88583d6bc (diff) | |
perf kvm: Fix stdin handling for 'kvm stat live' command
Currently the initial ~(ICANON | ECHO) terminal mode is not set, so we
dont get stdin data until we press ENTER.
Fixing this by early setting of the ~(ICANON | ECHO) mode and leaving
this mode for whole life of the command, because canonical mode is not
needed.
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions