From: Vincent Brillault Date: Mon, 23 Jun 2014 18:52:57 +0000 (+0200) Subject: Turbostat: Rename instance type "pc%02d" to "pkg%02d" X-Git-Tag: collectd-5.5.0~24^2~82 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3d4417952a060f82ac990e046d6a1135a25791ea;p=collectd.git Turbostat: Rename instance type "pc%02d" to "pkg%02d" --- diff --git a/src/turbostat.c b/src/turbostat.c index b6aa0a9d..e6b59d9e 100644 --- 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, "pc%02d", p->package_id); + snprintf(name, NAME_LEN, "pkg%02d", p->package_id); if (do_ptm) turbostat_submit(NULL, "temperature", name, p->pkg_temp_c);