From 245e0d229518830a9a0398fbe190fb2edffaf0bb Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Wed, 1 Jan 2025 16:25:15 -0800 Subject: 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). --- src/charts.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/charts.c') 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); +} -- cgit v1.2.3