• Masami Hiramatsu's avatar
    perf probe: Support tracing an entry of array · b2a3c12b
    Masami Hiramatsu authored
    Add array-entry tracing support to perf probe. This enables to trace an entry
    of array which is indexed by constant value, e.g. array[0].
    
    For example:
    
      $ perf probe -a 'bio_split bi->bi_io_vec[0]'
    
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    LKML-Reference: <20100519195742.2885.5344.stgit@localhost6.localdomain6>
    Signed-off-by: default avatarMasami Hiramatsu <mhiramat@redhat.com>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    b2a3c12b
probe-finder.c 35.3 KB