diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2016-09-09 14:20:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-09 14:20:28 -0700 |
commit | a1aba8e0fe5c94ebf04258b609666c92b756954f (patch) | |
tree | fe9792b77766e31728b1d2d04d2461858ef45443 /src/libvmon/defs/proc_wants.def | |
parent | e99f5ac1293a0ae1f498bc4c73c4c04e4edb8665 (diff) | |
parent | 8ef5fccc1ad2f5acb5530a438de631153e4ad945 (diff) |
Merge pull request #6 from vcaputo/clean_house
House cleaning
Diffstat (limited to 'src/libvmon/defs/proc_wants.def')
-rw-r--r-- | src/libvmon/defs/proc_wants.def | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libvmon/defs/proc_wants.def b/src/libvmon/defs/proc_wants.def new file mode 100644 index 0000000..7f02602 --- /dev/null +++ b/src/libvmon/defs/proc_wants.def @@ -0,0 +1,14 @@ +#include "_begin.def" + +/* the available per-process wants, the order here matters, put wants which affect the sampling heirarchy first */ +/* otherwise they will change the heirarchy after samples have been collected, leaving newly introduced nodes with uninitialized sample stores after return from vmon_sample() */ + +/* sym, name, internal fulfilllment function */ +vmon_want(PROC_FOLLOW_CHILDREN, proc_follow_children, proc_follow_children) +vmon_want(PROC_FOLLOW_THREADS, proc_follow_threads, proc_follow_threads) +vmon_want(PROC_FILES, proc_files, proc_sample_files) +vmon_want(PROC_STAT, proc_stat, proc_sample_stat) +vmon_want(PROC_VM, proc_vm, proc_sample_vm) +vmon_want(PROC_IO, proc_io, proc_sample_io) + +#include "_end.def" |