• Chase Douglas's avatar
    perf probe: Add kernel source path option · 9ed7e1b8
    Chase Douglas authored
    The probe plugin requires access to the source code for some operations.  The
    source code must be in the exact same location as specified by the DWARF tags,
    but sometimes the location is an absolute path that cannot be replicated by a
    normal user. This change adds the -s|--source option to allow the user to
    specify the root of the kernel source tree.
    
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Masami Hiramatsu <mhiramat@redhat.com>
    LKML-Reference: <1276543590-10486-1-git-send-email-chase.douglas@canonical.com>
    Signed-off-by: default avatarChase Douglas <chase.douglas@canonical.com>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    9ed7e1b8
builtin-probe.c 7.14 KB