summaryrefslogtreecommitdiff
path: root/src/libvmon/defs/proc_wants.def
blob: a3c3cd7749aa9db59de748c8dbaa06ab34c593ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "_begin.def"

/* the available per-process wants, the order here matters, put wants which affect the sampling hierarchy first */
/* otherwise they will change the hierarchy after samples have been collected, leaving newly introduced nodes with uninitialized sample stores after return from vmon_sample() */
/* also PROC_FOLLOW_THREADS must be the last thing before the sampling wants, because those get skipped
 * if VMON_FLAG_NEGLECT_THREADS is set even when following threaads, and that's done by skipping wants
 * greater than VMON_FLAG_NEGLECT_THREADS for threads at sample time.
 */

/*	  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"
© All Rights Reserved