use libproc.so to fillin the proc_exe cwd and root fields
This commit is contained in:
1 parent
f3705ac25d
commit
23f6fd91b3
2 files changed
+27
-1
No files matched your search
@@ -166,6 +166,8 @@ typedef void (*proc_free_func_t)(void *);
|
||||
|
||||
typedef void (*proc_objname_func_t)(void *, uintptr_t, const char *, size_t);
|
||||
|
||||
typedef char * (*proc_dirname_func_t)(const char *, char *, size_t);
|
||||
|
||||
struct sigar_t {
|
||||
SIGAR_T_BASE;
|
||||
|
||||
@@ -213,6 +215,7 @@ struct sigar_t {
|
||||
proc_grab_func_t pgrab;
|
||||
proc_free_func_t pfree;
|
||||
proc_objname_func_t pobjname;
|
||||
proc_dirname_func_t pdirname;
|
||||
};
|
||||
|
||||
#define kSTAT_uint(v, type) \
|
||||
|
||||
Reference in new issue
Block a user