This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/5377] New: Wildcards following the dwarf probe are expanded incorrectly
- From: "mhiramat at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 21 Nov 2007 00:41:06 -0000
- Subject: [Bug translator/5377] New: Wildcards following the dwarf probe are expanded incorrectly
- Reply-to: sourceware-bugzilla at sourceware dot org
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.