• Arnaldo Carvalho de Melo's avatar
    perf report: Fix initializion of annotate symbol priv area · 0849327d
    Arnaldo Carvalho de Melo authored
    We only allocate it when in TUI mode. In --stdio mode unconditionally
    initializing this area leads to memory corruption.
    
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Tom Zanussi <tzanussi@gmail.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    0849327d
builtin-report.c 15.1 KB