[Bug translator/5377] New: Wildcards following the dwarf probe are expanded incorrectly
mhiramat at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Nov 21 00:41:00 GMT 2007
I found wildcards at the tail of the dwarf probes were expanded incorrectly.
For example,
---
probe kernel.function("sys_read").* {}
---
This script was expanded as below (output of 'stap -p2');
---
# probes
kernel.function("sys_read@fs/read_write.c:358") /* pc=0x807ff */ /* <-
kernel.function("sys_read").* */
kernel.function("sys_read@fs/read_write.c:358") /* pc=0x807ff */ /* <-
kernel.function("sys_read").* */
kernel.function("sys_read@fs/read_write.c:358") /* pc=0x807ff */ /* <-
kernel.function("sys_read").* */
---
I expected that it should be expanded as below;
---
# probes
kernel.function("sys_read@fs/read_write.c:358").call /* pc=0x807ff */ /* <-
kernel.function("sys_read").* */
kernel.function("sys_read@fs/read_write.c:358").return /* pc=0x807ff */ /* <-
kernel.function("sys_read").* */
---
And also,
---
probe kernel.function("sys_read").ret* {}
---
This was expanded as below;
---
# probes
kernel.function("sys_read@fs/read_write.c:358") /* pc=0x807ff */ /* <-
kernel.function("sys_read").ret* */
---
But it should be expanded as below;
---
# probes
kernel.function("sys_read@fs/read_write.c:358").return /* pc=0x807ff */ /* <-
kernel.function("sys_read").ret* */
---
Thanks,
--
Summary: Wildcards following the dwarf probe are expanded
incorrectly
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mhiramat at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5377
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list