summaryrefslogtreecommitdiff
path: root/src/charts.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2025-01-01 16:25:15 -0800
committerVito Caputo <vcaputo@pengaru.com>2025-01-01 19:32:12 -0800
commit245e0d229518830a9a0398fbe190fb2edffaf0bb (patch)
tree5856093d7f9c98a3045dd5efebbce63942dd5b30 /src/charts.c
parent99df2027777cb732918ca8aaaa5efcfd75b615d3 (diff)
charts: expose vmon_dump_procs() in a trivial wrapper
libvmon isn't really exposed to the front-end code beyond charts, so it's this or a vwm_charts_t.vmon accessor and callers including libvmon/vmon.h (yuck).
Diffstat (limited to 'src/charts.c')
-rw-r--r--src/charts.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/charts.c b/src/charts.c
index 34caf58..cc42469 100644
--- a/src/charts.c
+++ b/src/charts.c
@@ -1454,3 +1454,9 @@ int vwm_charts_update(vwm_charts_t *charts, int *desired_delay_us)
return ret;
}
+
+
+void charts_vmon_dump_procs(vwm_charts_t *charts, FILE *out)
+{
+ vmon_dump_procs(&charts->vmon, out);
+}
© All Rights Reserved