use libproc.so to fillin the proc_exe cwd and root fields

This commit is contained in:
Doug MacEachern committed 2004-07-30 01:57:58 +00:00
1 parent f3705ac25d
commit 23f6fd91b3
2 files changed
+27 -1

No files matched your search

+3
View File
@@ -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) \