summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a78f607)
raw | patch | inline | side by side (parent: a78f607)
author | Florian Forster <octo@collectd.org> | |
Tue, 13 Sep 2016 05:25:54 +0000 (07:25 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 14 Sep 2016 18:38:52 +0000 (20:38 +0200) |
src/hugepages.c | patch | blob | history |
diff --git a/src/hugepages.c b/src/hugepages.c
index 957eedb07e6122e3cae7b147f88fb72027dbf5c4..8a2ad6a025d37376910c45ccdf8f63f702714707 100644 (file)
--- a/src/hugepages.c
+++ b/src/hugepages.c
static int read_hugepage_entry(const char *path, const char *entry,
void *e_info) {
char path2[PATH_MAX];
- char type_instance[PATH_MAX];
struct entry_info *info = e_info;
double value;
return 0;
}
- ssnprintf(type_instance, sizeof(type_instance), "free_used-%zukB",
- info->page_size_kb);
submit_hp(info);
/* Reset flags so subsequent calls don't submit again. */