Commit 8322f800 authored by Teng Qin's avatar Teng Qin Committed by Brenden Blanco

Removed unused Mount Namespace helpers

parent 15b15edb
......@@ -469,15 +469,4 @@ invalid_module:
}
return -1;
}
void *bcc_enter_mount_ns(int pid) {
return static_cast<void *>(new ProcMountNSGuard(pid));
}
void bcc_exit_mount_ns(void **guard) {
if (guard && *guard) {
delete static_cast<ProcMountNSGuard *>(*guard);
*guard = NULL;
}
}
}
......@@ -82,9 +82,6 @@ int bcc_resolve_symname(const char *module, const char *symname,
struct bcc_symbol_option* option,
struct bcc_symbol *sym);
void *bcc_enter_mount_ns(int pid);
void bcc_exit_mount_ns(void **guard);
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment