This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/10467] New: Failure in source:line matching aborts further searching
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 31 Jul 2009 01:45:26 -0000
- Subject: [Bug tapsets/10467] New: Failure in source:line matching aborts further searching
- Reply-to: sourceware-bugzilla at sourceware dot org
I discovered this flaw when trying to use the fully-resolved name for a function
probe:
$ stap -l 'kernel.function("send_sigqueue")'
kernel.function("send_sigqueue@kernel/signal.c:1309")
$ stap -l 'kernel.function("send_sigqueue@kernel/signal.c:1309")' --vp 03
[...]
focused on module 'kernel'
selected source file 'arch/x86/kernel/signal.c'
semantic error: libdw failure (dwarf_getsrc_file): no matching address range
semantic error: no match while resolving probe point
kernel.function("send_sigqueue@kernel/signal.c:1309")
It matched arch/x86/kernel/signal.c because we implicitly use a '*/' in front of
source paths. The arch file is less than 1309 lines long though, so there can't
be any functions there.
However, instead of aborting, we should continue looking at other source files
so we can find the correct function in the plain 'kernel/signal.c'.
--
Summary: Failure in source:line matching aborts further searching
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jistone at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10467
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.