diff options
author | hunt <hunt> | 2007-03-26 16:14:44 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-03-26 16:14:44 +0000 |
commit | 98f0ea565abd496f7f4f065f652456101370751e (patch) | |
tree | 36afe165449e979086eba5824fbe185c0e07ded6 /runtime/transport/symbols.c | |
parent | 4d452cb34d0d15d88ef6b04ce8407ad106447d98 (diff) | |
download | systemtap-steved-98f0ea565abd496f7f4f065f652456101370751e.tar.gz systemtap-steved-98f0ea565abd496f7f4f065f652456101370751e.tar.xz systemtap-steved-98f0ea565abd496f7f4f065f652456101370751e.zip |
2007-03-26 Martin Hunt <hunt@redhat.com>
* symbols.c (_stp_do_module): If a module has no symbols, just
return NULL instead of an errorcode.
* control.c, procfs.c, relayfs.c, transport.c, utt.c, utt.h:
Revert back to using systemtap/modulename instead of systemtap_pid.
Diffstat (limited to 'runtime/transport/symbols.c')
-rw-r--r-- | runtime/transport/symbols.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/transport/symbols.c b/runtime/transport/symbols.c index 9780b0b1..a91a8b70 100644 --- a/runtime/transport/symbols.c +++ b/runtime/transport/symbols.c @@ -387,7 +387,7 @@ static int _stp_do_module(const char __user *buf, int count) mod = _stp_load_module_symbols(&tmpmod); if (mod == NULL) { kfree(tmpmod.sections); - return -EFAULT; + return 0; } _stp_ins_module(mod); |