• Ingo Molnar's avatar
    perf_counter tools: increase limits, fix · 85a9f920
    Ingo Molnar authored
    NR_CPUS and NR_COUNTERS goes up quadratic ... 1024x4096 was far
    too ambitious upper limit - go for 256x256 which is still plenty.
    
    [ Impact: reduce perf tool memory consumption ]
    
    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>
    Cc: Mike Galbraith <efault@gmx.de>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    85a9f920
perf.h 1.62 KB