Set local to get numbers printed w/ commas.. much easier to read that
way.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4119>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4119>
#include <err.h>
#include <fcntl.h>
#include <ftw.h>
+#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
dev.groups = calloc(dev.ngroups, sizeof(struct counter_group));
+ setlocale(LC_NUMERIC, "en_US.UTF-8");
+
setup_counter_groups(groups);
restore_counter_groups();
config_restore();