[Bug runtime/16861] probes aren't re-registered after module reload
jlebon at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Jun 19 20:34:00 GMT 2014
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.
More information about the Systemtap
mailing list