This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11424] New: 'kprobe.function("foo") !' doesn't work like 'kernel.function("foo") !'
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 23 Mar 2010 21:04:36 -0000
- Subject: [Bug translator/11424] New: 'kprobe.function("foo") !' doesn't work like 'kernel.function("foo") !'
- Reply-to: sourceware-bugzilla at sourceware dot org
Observe the following:
# stap -e 'probe kernel.function("foo") !, kernel.function("sys_read")
{printf("read\n"); exit()}'
read
# stap -e 'probe kernel.function("foo") ?, kernel.function("sys_read")
{printf("read\n"); exit()}'
read
Since function "foo" doesn't exist, '!' (optional and sufficient) and '?'
(optional) act exactly the same.
However:
# stap -e 'probe kprobe.function("foo") ?, kprobe.function("sys_read")
{printf("read\n"); exit()}'
read
# stap -e 'probe kprobe.function("foo") !, kprobe.function("sys_read")
{printf("read\n"); exit()}'
<ctrl-C>
In this last case, '!' seems to mark "foo" as sufficient, even if it doesn't exist.
--
Summary: 'kprobe.function("foo") !' doesn't work like
'kernel.function("foo") !'
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dsmith at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11424
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.