projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ca5cc1
)
Turbostat: value_list_t.plugin_instance limit is DATA_MAX_NAME_LEN
author
Vincent Brillault
<git@lerya.net>
Tue, 23 Sep 2014 20:58:02 +0000
(22:58 +0200)
committer
Vincent Brillault
<git@lerya.net>
Sat, 28 Feb 2015 06:35:42 +0000
(07:35 +0100)
src/turbostat.c
patch
|
blob
|
history
diff --git
a/src/turbostat.c
b/src/turbostat.c
index
6fa172d
..
0faf192
100644
(file)
--- a/
src/turbostat.c
+++ b/
src/turbostat.c
@@
-601,7
+601,7
@@
turbostat_submit (const char *plugin_instance,
static int
submit_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p)
{
- char name[
12
];
+ char name[
DATA_MAX_NAME_LEN
];
double interval_float;
interval_float = tv_delta.tv_sec + tv_delta.tv_usec/1000000.0;