projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26ae814
)
Turbostat: Rename instance type "pc%02d" to "pkg%02d"
author
Vincent Brillault
<git@lerya.net>
Mon, 23 Jun 2014 18:52:57 +0000
(20:52 +0200)
committer
Vincent Brillault
<git@lerya.net>
Sat, 28 Feb 2015 06:35:40 +0000
(07:35 +0100)
src/turbostat.c
patch
|
blob
|
history
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);