public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug testsuite/11373] New: systemtap.server/server.exp leaves stap_*.ko litter
@ 2010-03-12 18:13 fche at redhat dot com
  2010-07-06 16:00 ` [Bug testsuite/11373] let stap-client use cache fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2010-03-12 18:13 UTC (permalink / raw)
  To: systemtap

server.exp uses [stap_run_batch] to run stap-client
via the $net_path hack.  For each successful test, a
stap_NNNN.ko file is left behind in the testsuite build
directory.

If these buildok tests are the only place that uses
net_path, we should consider unhacking that, and
writing a special [stap_run_batch] proc variant that
knows it's being used for stap-client purposes.  It
can then clean up stap_NNNN.ko residue.

-- 
           Summary: systemtap.server/server.exp leaves stap_*.ko litter
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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

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

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

* [Bug testsuite/11373] let stap-client use cache
  2010-03-12 18:13 [Bug testsuite/11373] New: systemtap.server/server.exp leaves stap_*.ko litter fche at redhat dot com
@ 2010-07-06 16:00 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2010-07-06 16:00 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-07-06 16:00 -------
While a stap-client can't validate & reuse a cached module, it
could still use the $SYSTEMTAP_DIR/cache to store .ko/.c files
returned from the server.  The main benefit is that the cache
is automatically size-limited, and `pwd` is not littered with
.ko files.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |brolley at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED
            Summary|systemtap.server/server.exp |let stap-client use cache
                   |leaves stap_*.ko litter     |


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

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

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

end of thread, other threads:[~2010-07-06 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-12 18:13 [Bug testsuite/11373] New: systemtap.server/server.exp leaves stap_*.ko litter fche at redhat dot com
2010-07-06 16:00 ` [Bug testsuite/11373] let stap-client use cache 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).