]> sourceware.org Git - systemtap.git/commit
nearest probes: preserve user-entered lineno in chain
authorJonathan Lebon <jlebon@redhat.com>
Mon, 8 Sep 2014 21:17:59 +0000 (17:17 -0400)
committerJonathan Lebon <jlebon@redhat.com>
Fri, 12 Sep 2014 18:36:05 +0000 (14:36 -0400)
commit5702442ac8ab73214170816e57074c752af5aba7
tree43101ec0789fe7405ac5f7506fc3f279e14dc13d
parent2bc35ff74852a910780dc81a89d1c9ca183d7a58
nearest probes: preserve user-entered lineno in chain

This patch adds an earlier well-formed probe point in the derivation
chain of .nearest probes so that the original lineno entered is
retained during stap -l.

Before:

$ stap -l 'kernel.statement("vfs_read@fs/read_write.c:396").nearest'
kernel.statement("vfs_read@fs/read_write.c:397").nearest

Now:

$ stap -l 'kernel.statement("vfs_read@fs/read_write.c:396").nearest'
kernel.statement("vfs_read@fs/read_write.c:396").nearest
dwflpp.cxx
tapsets.cxx
This page took 0.026811 seconds and 5 git commands to generate.