• Peter Zijlstra's avatar
    perf report: More robust error handling · 6142f9ec
    Peter Zijlstra authored
    Don't let funny events confuse us, stick to what we know and
    try to find sensible data again.
    
    If we find an unknown event, check we're still u64 aligned, and
    increment by one u64. This ensures we're bound to happen upon a
    valid event soon.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: John Kacur <jkacur@redhat.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    6142f9ec
builtin-report.c 17.5 KB