public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/11424] New: 'kprobe.function("foo") !'  doesn't work like 'kernel.function("foo") !'
@ 2010-03-23 21:05 dsmith at redhat dot com
  2010-03-23 21:16 ` [Bug translator/11424] dwarfless kprobe.* probes don't validate at translate time fche at redhat dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: dsmith at redhat dot com @ 2010-03-23 21:05 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <bug-11424-6586@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2012-10-03  1:00 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-23 21:05 [Bug translator/11424] New: 'kprobe.function("foo") !' doesn't work like 'kernel.function("foo") !' dsmith at redhat dot com
2010-03-23 21:16 ` [Bug translator/11424] dwarfless kprobe.* probes don't validate at translate time fche at redhat dot com
2010-03-23 22:01 ` dsmith at redhat dot com
2010-03-23 22:23 ` fche at redhat dot com
2010-03-24  9:51 ` prerna at linux dot vnet dot ibm dot com
2010-03-24 10:44 ` prerna at linux dot vnet dot ibm dot com
2010-03-24 11:04 ` mjw at redhat dot com
2010-03-24 18:28 ` prerna at linux dot vnet dot ibm dot com
2010-03-24 18:33 ` fche at redhat dot com
     [not found] <bug-11424-6586@http.sourceware.org/bugzilla/>
2011-11-30 16:36 ` dsmith at redhat dot com
2011-11-30 17:14 ` dsmith at redhat dot com
2011-11-30 18:40 ` dsmith at redhat dot com
2011-11-30 18:40 ` dsmith at redhat dot com
2011-11-30 18:45 ` dsmith at redhat dot com
2011-12-01  0:44 ` dsmith at redhat dot com
2012-07-10 16:35 ` dsmith at redhat dot com
2012-07-11 14:14 ` dsmith at redhat dot com
2012-07-18 18:32 ` dsmith at redhat dot com
2012-10-03  1:00 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).