projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Turbostat: Rename instance type "pc%02d" to "pkg%02d"
[collectd.git]
/
src
/
turbostat.c
diff --git
a/src/turbostat.c
b/src/turbostat.c
index
b6aa0a9
..
e6b59d9
100644
(file)
--- a/
src/turbostat.c
+++ b/
src/turbostat.c
@@
-852,7
+852,7
@@
submit_counters(struct thread_data *t, struct core_data *c,
if (!(t->flags & CPU_IS_FIRST_CORE_IN_PACKAGE))
goto done;
- snprintf(name, NAME_LEN, "p
c
%02d", p->package_id);
+ snprintf(name, NAME_LEN, "p
kg
%02d", p->package_id);
if (do_ptm)
turbostat_submit(NULL, "temperature", name, p->pkg_temp_c);