move sigar_dlinfo_modules to util for use with FreeBSD
This commit is contained in:
1 parent
51a205920f
commit
3cf07fbb30
4 files changed
+76
-58
No files matched your search
@@ -143,6 +143,15 @@ int sigar_cpu_mhz_from_model(char *model);
|
||||
|
||||
char *sigar_get_self_path(sigar_t *sigar);
|
||||
|
||||
#if defined(__sun) || defined(__FreeBSD__)
|
||||
|
||||
#define SIGAR_HAS_DLINFO_MODULES
|
||||
#include <dlfcn.h>
|
||||
#include <link.h>
|
||||
|
||||
int sigar_dlinfo_modules(sigar_t *sigar, sigar_proc_modules_t *procmods);
|
||||
#endif
|
||||
|
||||
typedef struct sigar_cache_entry_t sigar_cache_entry_t;
|
||||
|
||||
struct sigar_cache_entry_t {
|
||||
|
||||
Reference in new issue
Block a user