diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-11-02 15:57:34 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-11-02 15:57:34 +0100 |
commit | d7b0577d7d30139491b5cfeffb467440f9e88818 (patch) | |
tree | 0666fa8f415a47e8f5645dd87ad8844251251c6a /include/osmocom/vty/misc.h | |
parent | c84851bccc2e5e60536afa474a5f13134a3b79c9 (diff) | |
parent | 8f0374f7521376bdb721e821047e8a6a4a727283 (diff) |
Merge branch 'jerlbeck/wip/stats'
* This adds a new counter type (to measure time or delay)
* A statsd reporting backend. This can be fed into graphite
or similar tools.
* A periodic log backend for performance values
Diffstat (limited to 'include/osmocom/vty/misc.h')
-rw-r--r-- | include/osmocom/vty/misc.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/osmocom/vty/misc.h b/include/osmocom/vty/misc.h index db552e77..f3b46dbd 100644 --- a/include/osmocom/vty/misc.h +++ b/include/osmocom/vty/misc.h @@ -2,6 +2,7 @@ #include <osmocom/vty/vty.h> #include <osmocom/core/rate_ctr.h> +#include <osmocom/core/stat_item.h> #include <osmocom/core/utils.h> #define VTY_DO_LOWER 1 @@ -10,7 +11,12 @@ char *vty_cmd_string_from_valstr(void *ctx, const struct value_string *vals, const char *end, int do_lower); void vty_out_rate_ctr_group(struct vty *vty, const char *prefix, - struct rate_ctr_group *ctrg); + struct rate_ctr_group *ctrg); + +void vty_out_stat_item_group(struct vty *vty, const char *prefix, + struct osmo_stat_item_group *statg); + +void vty_out_statistics_full(struct vty *vty, const char *prefix); int osmo_vty_write_config_file(const char *filename); int osmo_vty_save_config_file(void); |