perf probe: Introduce lines walker interface