• Arnaldo Carvalho de Melo's avatar
    perf symbols: Check if a struct machine instance was found · 4cc49458
    Arnaldo Carvalho de Melo authored
    Which can happen when processing old files that had no fake kernel MMAP,
    events.
    
    That shouldn't result in perf_session__create_kernel_maps not being
    called, this will be fixed in a followup patch, for now do these checks
    to avoid segfaulting.
    
    Cc: Frédéric Weisbecker <fweisbec@gmail.com>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Tom Zanussi <tzanussi@gmail.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    4cc49458
event.c 18.6 KB