diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-11-02 15:15:38 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-11-02 16:04:16 +0100 |
commit | 46caed8fc490f0f9f3c435d1cf59fc900fad9b5a (patch) | |
tree | 1f71fc7c05407bb4382c6bec2df09ce7e5f99b30 /openbsc/src/gprs/gb_proxy.c | |
parent | 64630cccc763da7088c1d1ff251a89d4d352cd4b (diff) |
stats: Set class_id in rate_ctr group descriptions
This commit adds the class_id initialiser to all rate_ctr_group_desc
definitions.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/gprs/gb_proxy.c')
-rw-r--r-- | openbsc/src/gprs/gb_proxy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c index 5b3ee282d..8cdf9a45a 100644 --- a/openbsc/src/gprs/gb_proxy.c +++ b/openbsc/src/gprs/gb_proxy.c @@ -34,6 +34,7 @@ #include <osmocom/core/talloc.h> #include <osmocom/core/select.h> #include <osmocom/core/rate_ctr.h> +#include <osmocom/core/stats.h> #include <osmocom/gprs/gprs_ns.h> #include <osmocom/gprs/gprs_bssgp.h> @@ -72,6 +73,7 @@ static const struct rate_ctr_group_desc global_ctrg_desc = { .group_description = "GBProxy Global Statistics", .num_ctr = ARRAY_SIZE(global_ctr_description), .ctr_desc = global_ctr_description, + .class_id = OSMO_STATS_CLASS_GLOBAL, }; static int gbprox_relay2peer(struct msgb *old_msg, struct gbproxy_peer *peer, |