• M
    perf probe: Support tracing an entry of array · b2a3c12b
    Masami Hiramatsu 提交于
    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: NMasami Hiramatsu <mhiramat@redhat.com>
    Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
    b2a3c12b
probe-event.h 3.8 KB