• Masami Hiramatsu's avatar
    perf probe: Introduce lines walker interface · 4cc9cec6
    Masami Hiramatsu authored
    Introduce die_walk_lines() for walking on the line list of given die, and use
    it in line_range finder and probe point finder.
    
    Cc: 2nddept-manager@sdl.hitachi.co.jp
    Cc: Franck Bui-Huu <fbuihuu@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    LKML-Reference: <20110113124558.22426.48170.stgit@ltc236.sdl.hitachi.co.jp>
    Signed-off-by: default avatarMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
    [ committer note: s/%ld/%zd/ for a size_t nlines var that broke f14 x86 build]
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    4cc9cec6
probe-finder.c 45.6 KB