• Mike Galbraith's avatar
    perf top: fix segfault · c2990a2a
    Mike Galbraith authored
    c6eb13 increased stack usage such that perf-top now croaks on startup.
    
    Take event_array and mmap_array off the stack to prevent segfault on boxen
    with smallish ulimit -s setting.
    Signed-off-by: default avatarMike Galbraith <efault@gmx.de>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: John Kacur <jkacur@redhat.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    c2990a2a
builtin-top.c 27.4 KB