public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10552] New: document '-M' (bulk merge) flag
@ 2009-08-24  1:31 fche at redhat dot com
  2009-09-01 19:41 ` [Bug translator/10552] " dsmith at redhat dot com
  2009-09-01 20:02 ` dsmith at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2009-08-24  1:31 UTC (permalink / raw)
  To: systemtap

We have it, it's tested, but it's not documented in stap.1 nor stap -h.

-- 
           Summary: document '-M' (bulk merge) flag
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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

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

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

* [Bug translator/10552] document '-M' (bulk merge) flag
  2009-08-24  1:31 [Bug translator/10552] New: document '-M' (bulk merge) flag fche at redhat dot com
@ 2009-09-01 19:41 ` dsmith at redhat dot com
  2009-09-01 20:02 ` dsmith at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2009-09-01 19:41 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From dsmith at redhat dot com  2009-09-01 19:41 -------
After looking at the source a bit, I don't believe the '-M' option does anything
or is tested.

There is a 'merge' field in the translator's session object.  Specifying '-M'
does change its value, but no translator code appears to look at the value
(except to make sure it isn't set with other incompatible options).

It isn't really tested either.  There is some basic command line option testing
to make sure you can't specify '-M' with other options.  It is also used when
doing testing of the cache feature to make sure it changes the cache hash.  But,
I don't see a real functional test of '-M'.

Perhaps since it doesn't really do anything, that's why it isn't documented.

We should think about making it do something (assuming we can remember what it
was supposed to do) or remove it altogether.

-- 


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

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

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

* [Bug translator/10552] document '-M' (bulk merge) flag
  2009-08-24  1:31 [Bug translator/10552] New: document '-M' (bulk merge) flag fche at redhat dot com
  2009-09-01 19:41 ` [Bug translator/10552] " dsmith at redhat dot com
@ 2009-09-01 20:02 ` dsmith at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2009-09-01 20:02 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From dsmith at redhat dot com  2009-09-01 20:02 -------
It looks like translator support for merge (STP_RELAYFS_MERGE) was removed in
commit e65b03c170887fa9076119afd123a7384c12c630 back on 2007-03-14:

	* translate.cxx (emit_module_exit): Print warning using
	_stp_printf so it shows up at the end of all output.
	(translate_pass): Replace STP_RELAYFS with STP_BULKMODE.
	Eliminate STP_RELAYFS_MERGE.

I'll remove all references to '-M'.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |dsmith at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


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

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

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

end of thread, other threads:[~2009-09-01 20:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-24  1:31 [Bug translator/10552] New: document '-M' (bulk merge) flag fche at redhat dot com
2009-09-01 19:41 ` [Bug translator/10552] " dsmith at redhat dot com
2009-09-01 20:02 ` dsmith 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).