Code

Turbostat: Rename instance type "pc%02d" to "pkg%02d"
authorVincent Brillault <git@lerya.net>
Mon, 23 Jun 2014 18:52:57 +0000 (20:52 +0200)
committerVincent Brillault <git@lerya.net>
Sat, 28 Feb 2015 06:35:40 +0000 (07:35 +0100)
src/turbostat.c

index b6aa0a9d5872a7879f5153d7db08d358a4633633..e6b59d9e1ddfe200f2e4c27b8e96cf38659bea32 100644 (file)
@@ -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);