public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/4301] New: mark_derived_probe::join_group incomplete
@ 2007-03-30 17:51 mkg at vt dot edu
  2007-03-30 18:02 ` [Bug translator/4301] " fche at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mkg at vt dot edu @ 2007-03-30 17:51 UTC (permalink / raw)
  To: systemtap

I am exploring the Myrinet 10G MX driver with SystemTap. I created two markers 
called mx_ether_xmit_top and mx_ether_xmit_bottom at the top and bottom of 
static function mx_ether_xmit in mx-1.2.0i/driver/linux/mx_ether.c, part of 
module mx_driver.

Instead of being able to probe at the marks, there are semantic errors: 
"semantic error: incomplete: keyword at <input>:1:1" with "stap -e 'probe 
module("mx_driver").mark ("mx_ether_xmit_top") {exit}'". Surprisingly, there is 
a different error when running "stap -e 'probe module("mx_driver").mark 
("mx_ether_xmit") {exit}'": "semantic error: no match for probe point while 
resolving probe point module("mx_driver").mark("mx_ether_xmit")" which is the 
error I expect to see since there are no marks by that name. Thus the mark is 
being found by the first command line.

The problem appears to be an incomplete implementation guarded by throwing 
semantic error "incomplete" in mark_derived_probe::join_group at 
tapsets.cxx:4382.

-- 
           Summary: mark_derived_probe::join_group incomplete
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mkg at vt dot edu


http://sourceware.org/bugzilla/show_bug.cgi?id=4301

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug translator/4301] mark_derived_probe::join_group incomplete
  2007-03-30 17:51 [Bug translator/4301] New: mark_derived_probe::join_group incomplete mkg at vt dot edu
@ 2007-03-30 18:02 ` fche at redhat dot com
  2007-03-30 18:28 ` mkg at vt dot edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fche at redhat dot com @ 2007-03-30 18:02 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2007-03-30 19:02 -------
We have temporarily turned off marker support in systemtap, since it used the
function-pointer style of marker macro I presented at OLS in 2006.  The kernel
community has not accepted it, and have instead worked on a similar scheme
being built by lttng folks.  My plan has been to re-enable marker support in
systemtap, once the lttng marker facility is finalized and accepted.

If that plan does not suit you, there are a couple of options.  You could go
back to an older version of systemtap that still has the older marker code
enabled - sometime late 2006.  Or you could try applying kprobes-based
probes in your script.  Or, you could motivate us to restore support for the
old marker code.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=4301

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug translator/4301] mark_derived_probe::join_group incomplete
  2007-03-30 17:51 [Bug translator/4301] New: mark_derived_probe::join_group incomplete mkg at vt dot edu
  2007-03-30 18:02 ` [Bug translator/4301] " fche at redhat dot com
@ 2007-03-30 18:28 ` mkg at vt dot edu
  2007-03-30 18:44 ` fche at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mkg at vt dot edu @ 2007-03-30 18:28 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mkg at vt dot edu  2007-03-30 19:27 -------
Subject: Re:  mark_derived_probe::join_group incomplete

Thanks for responding so quickly Frank.

fche at redhat dot com(sourceware-bugzilla@sourceware.org)@2007.03.30 18:02:01 +0000:
> If that plan does not suit you, there are a couple of options.  You could go
> back to an older version of systemtap that still has the older marker code
> enabled - sometime late 2006.  Or you could try applying kprobes-based
> probes in your script.  Or, you could motivate us to restore support for the
> old marker code.

How difficult would it be for me to temporarily re-enable it? I have a
deadline that I am up against and need the feature, but do not mind if
the current implementation is not the one that is finally adopted.

Mark

-- 
Dr. Mark K. Gardner
Network Research Manager
Communications Network Services
Virginia Tech


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4301

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug translator/4301] mark_derived_probe::join_group incomplete
  2007-03-30 17:51 [Bug translator/4301] New: mark_derived_probe::join_group incomplete mkg at vt dot edu
  2007-03-30 18:02 ` [Bug translator/4301] " fche at redhat dot com
  2007-03-30 18:28 ` mkg at vt dot edu
@ 2007-03-30 18:44 ` fche at redhat dot com
  2007-03-30 19:36 ` mkg at vt dot edu
  2007-05-08 18:57 ` fche at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fche at redhat dot com @ 2007-03-30 18:44 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2007-03-30 19:44 -------
If you check out a considerably older version of systemtap, then you
will find the old marker code still active.  For example, you could
check out and build the "rhel5b2" CVS-tagged version of systemtap,
which dates from 2006-10-18.  That one of course lacks many modern
features and compatibility improvements.

If this is not acceptable, and you need markers as opposed to kprobes,
you will need to wait for someone to forward port the old marker code
into the current tree.  It wouldn't be much work (a couple of days),
but I'm busy with something else right now.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4301

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug translator/4301] mark_derived_probe::join_group incomplete
  2007-03-30 17:51 [Bug translator/4301] New: mark_derived_probe::join_group incomplete mkg at vt dot edu
                   ` (2 preceding siblings ...)
  2007-03-30 18:44 ` fche at redhat dot com
@ 2007-03-30 19:36 ` mkg at vt dot edu
  2007-05-08 18:57 ` fche at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: mkg at vt dot edu @ 2007-03-30 19:36 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mkg at vt dot edu  2007-03-30 20:36 -------
Subject: Re:  mark_derived_probe::join_group incomplete

Thanks. I'll give the old version a try. Mark

fche at redhat dot com(sourceware-bugzilla@sourceware.org)@2007.03.30 18:44:18 +0000:
> 
> ------- Additional Comments From fche at redhat dot com  2007-03-30 19:44 -------
> If you check out a considerably older version of systemtap, then you
> will find the old marker code still active.  For example, you could
> check out and build the "rhel5b2" CVS-tagged version of systemtap,
> which dates from 2006-10-18.  That one of course lacks many modern
> features and compatibility improvements.
> 
> If this is not acceptable, and you need markers as opposed to kprobes,
> you will need to wait for someone to forward port the old marker code
> into the current tree.  It wouldn't be much work (a couple of days),
> but I'm busy with something else right now.
> 
> 
> -- 
> 
> 
> http://sourceware.org/bugzilla/show_bug.cgi?id=4301
> 
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
> 

-- 
Dr. Mark K. Gardner
Network Research Manager
Communications Network Services
Virginia Tech


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4301

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug translator/4301] mark_derived_probe::join_group incomplete
  2007-03-30 17:51 [Bug translator/4301] New: mark_derived_probe::join_group incomplete mkg at vt dot edu
                   ` (3 preceding siblings ...)
  2007-03-30 19:36 ` mkg at vt dot edu
@ 2007-05-08 18:57 ` fche at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fche at redhat dot com @ 2007-05-08 18:57 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2007-05-08 19:57 -------
Considering that the new marker code appears closer to upstream acceptance, I'd
like to avoid forward-porting the support for this old marker style.


*** This bug has been marked as a duplicate of 4446 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |DUPLICATE


http://sourceware.org/bugzilla/show_bug.cgi?id=4301

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-08 18:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-30 17:51 [Bug translator/4301] New: mark_derived_probe::join_group incomplete mkg at vt dot edu
2007-03-30 18:02 ` [Bug translator/4301] " fche at redhat dot com
2007-03-30 18:28 ` mkg at vt dot edu
2007-03-30 18:44 ` fche at redhat dot com
2007-03-30 19:36 ` mkg at vt dot edu
2007-05-08 18:57 ` 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).