diff options
author | Jiri Olsa <[email protected]> | 2017-11-14 10:23:39 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-11-17 12:16:23 -0300 |
commit | b135e5ee1a0e325166c30b16cf5493fea44ede45 (patch) | |
tree | 07035d118a6da9e8b61977bd95ffb215de99e39a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 93d10af26bb7159349158b721ba2e258291d53c3 (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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions