aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2017-11-14 09:23:39 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-11-17 15:16:23 +0000
commitb135e5ee1a0e325166c30b16cf5493fea44ede45 (patch)
tree07035d118a6da9e8b61977bd95ffb215de99e39a /tools/perf/scripts/python/check-perf-trace.py
parentperf tools: Optimize sample parsing for ordered events (diff)
downloadkernel-b135e5ee1a0e325166c30b16cf5493fea44ede45.tar.gz
kernel-b135e5ee1a0e325166c30b16cf5493fea44ede45.zip
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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions