summaryrefslogtreecommitdiff
path: root/src/libvmon/defs/proc_wants.def
AgeCommit message (Collapse)Author
10 dayslibvmon: introduce VMON_FLAG_NEGLECT_THREADS flagVito Caputo
--hide-threads needs a way to tell libvmon to both follow threads and neglect to actually sample them. Note this will still allocate the vmon_proc_t for every thread, but conserves in the open proc files department by not opening/reading everything other than the children proc file for threads - regardless of what other proc wants have been specified. So front-ends still need to traverse threads of processes, and if they want to collapse the children of threads as if they're all children of the threads' parent, that's up to the front-end to do so. In the vwm/vmon case, that's a detail for charts.c to handle, when --hide-threads is in effect. It will have to render the children of threads as if they're children of the threads' parent, to hide this clusterfuck from what's visible to the user.
2024-07-31*: %s/heirarch/hierarch/Vito Caputo
Mechnical fix of longstanding typo I'm tired of ignoring...
2016-09-09*: refactor all the thingsVito Caputo
Long overdue house cleaning. The addition of compositing/monitoring overlays in vwm3 pushed vwm well past what is a reasonable size for a simple thousand line file. This is a first step towards restoring sanity in the code, but no behavioral differences are intended, this is mostly just shuffling around and organizing code. I expect some performance regressions initially, follow-on commits will make more improvements to that end as the dust settles.
© All Rights Reserved