This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/16861] probes aren't re-registered after module reload
- From: "jlebon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 19 Jun 2014 20:34:44 +0000
- Subject: [Bug runtime/16861] probes aren't re-registered after module reload
- Auto-submitted: auto-generated
- References: <bug-16861-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16861
--- Comment #2 from Jonathan Lebon <jlebon at redhat dot com> ---
Created attachment 7647
--> https://sourceware.org/bugzilla/attachment.cgi?id=7647&action=edit
Patch
In this patch, we only call back to systemtap_module_refresh() for the COMING
event. We also pass the module name so that only kprobes for that module are
refreshed.
With the patch:
$ stap -e 'probe module("btrfs").function("*_btrfs_fs").call { print
ln(ppfunc()) }' -c 'sudo sh -c "modprobe btrfs; modprobe -r btrfs; modprobe
btrfs; modprobe -r btrfs"'
init_btrfs_fs
exit_btrfs_fs
init_btrfs_fs
exit_btrfs_fs
$
--
You are receiving this mail because:
You are the assignee for the bug.