public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/16861] New: probes aren't re-registered after module reload
@ 2014-04-21 20:36 jistone at redhat dot com
  2014-06-19 20:33 ` [Bug runtime/16861] " jlebon at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jistone at redhat dot com @ 2014-04-21 20:36 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=16861

            Bug ID: 16861
           Summary: probes aren't re-registered after module reload
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: jistone at redhat dot com

With emit_module_refresh, we can support probes in modules that weren't loaded
at the time stap started.  However, if a module is unloaded and then loaded
again, we miss the chance to register the probes anew.

For example, on a system not already using btrfs.ko:

$ stap -e 'probe module("btrfs").function("*_btrfs_fs").call {
println(ppfunc()) }' -c 'sudo sh -c "modprobe btrfs; modprobe -r btrfs;
modprobe btrfs; modprobe -r btrfs"'
init_btrfs_fs
exit_btrfs_fs

The init and exit are only noticed once, despite being loaded twice.

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

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

end of thread, other threads:[~2014-08-11 20:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-21 20:36 [Bug runtime/16861] New: probes aren't re-registered after module reload jistone at redhat dot com
2014-06-19 20:33 ` [Bug runtime/16861] " jlebon at redhat dot com
2014-06-19 20:34 ` jlebon at redhat dot com
2014-06-19 20:36 ` jlebon at redhat dot com
2014-06-20 17:52 ` jlebon at redhat dot com
2014-08-11 20:00 ` jlebon 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).