• Peter Zijlstra's avatar
    perf_counter: Make callchain samples extensible · f9188e02
    Peter Zijlstra authored
    Before exposing upstream tools to a callchain-samples ABI, tidy it
    up to make it more extensible in the future:
    
    Use markers in the IP chain to denote context, use (u64)-1..-4095 range
    for these context markers because we use them for ERR_PTR(), so these
    addresses are unlikely to be mapped.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    f9188e02
perf_counter.c 40.5 KB