#include <opagent.h>
int op_unload_native_code( | hdl, | |
vma); |
op_agent_thdl;uint64_tvma;
hdl : Handle returned from an earlier call to
op_open_agent()
vma : Virtual memory address of the compiled code being unloaded.
An op_write_native_code() with the same vma should have occurred before this call.
Returns 0 on success; -1 otherwise. If -1 is returned, errno is set
to indicate the nature of the error.
errno is set to EINVAL if an invalid op_agent_t
handle is passed. For a list of other possible errno values, see the man pages for:
gettimeofday, fwrite