This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has submitted this change and it was merged. Change subject: stats_statsd: use int64_t instead of int for value and delta. ...................................................................... stats_statsd: use int64_t instead of int for value and delta. The stats infrastructure use int64_t for values and delta. So the statsd reporter get call with int64_t. Change-Id: I33df86de60007a64fa853d6d3af9b609877a8fc6 --- M src/stats_statsd.c 1 file changed, 3 insertions(+), 3 deletions(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/stats_statsd.c b/src/stats_statsd.c index 2813410..3cecec3 100644 --- a/src/stats_statsd.c +++ b/src/stats_statsd.c @@ -39,7 +39,7 @@ int64_t value, int64_t delta); static int osmo_stats_reporter_statsd_send_item(struct osmo_stats_reporter *srep, const struct osmo_stat_item_group *statg, - const struct osmo_stat_item_desc *desc, int value); + const struct osmo_stat_item_desc *desc, int64_t value); struct osmo_stats_reporter *osmo_stats_reporter_create_statsd(const char *name) { @@ -57,7 +57,7 @@ } static int osmo_stats_reporter_statsd_send(struct osmo_stats_reporter *srep, - const char *name1, unsigned int index1, const char *name2, int value, + const char *name1, unsigned int index1, const char *name2, int64_t value, const char *unit) { char *buf; @@ -149,7 +149,7 @@ static int osmo_stats_reporter_statsd_send_item(struct osmo_stats_reporter *srep, const struct osmo_stat_item_group *statg, - const struct osmo_stat_item_desc *desc, int value) + const struct osmo_stat_item_desc *desc, int64_t value) { const char *unit = desc->unit; -- To view, visit https://gerrit.osmocom.org/1004 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I33df86de60007a64fa853d6d3af9b609877a8fc6 Gerrit-PatchSet: 3 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>