diff options
author | Jiri Olsa <[email protected]> | 2017-11-14 10:23:39 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-11-28 14:27:20 -0300 |
commit | 89d0aeab4252adc2a7ea693637dd21c588bfa2d1 (patch) | |
tree | 1ff9215f9001743cd83778aa3ca92c4681e279ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 34900ec5c9577cc1b0f22887ac7349f458ba8ac2 (diff) |
perf top: Fix window dimensions change handling
The stdio perf top crashes when we change the terminal
window size. The reason is that we assumed we get the
perf_top pointer as a signal handler argument which is
not the case.
Changing the SIGWINCH handler logic to change global
resize variable, which is checked in the main thread
loop.
Signed-off-by: Jiri Olsa <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Tested-by: Ravi Bangoria <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions