From 98f0ea565abd496f7f4f065f652456101370751e Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 26 Mar 2007 16:14:44 +0000 Subject: 2007-03-26 Martin Hunt * 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. --- runtime/transport/symbols.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/transport/symbols.c') 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); -- cgit