Turbostat: Use the 'count' gauge to count SMIs
authorVincent Brillault <git@lerya.net>
Tue, 19 May 2015 08:51:05 +0000 (10:51 +0200)
committerVincent Brillault <git@lerya.net>
Tue, 19 May 2015 08:51:05 +0000 (10:51 +0200)
src/turbostat.c

index 499eba9..80650df 100644 (file)
@@ -570,7 +570,7 @@ submit_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p)
 
        /* SMI */
        if (do_smi)
 
        /* SMI */
        if (do_smi)
-               turbostat_submit(name, "current", NULL, t->smi_count);
+               turbostat_submit(name, "count", NULL, t->smi_count);
 
        /* submit per-core data only for 1st thread in core */
        if (!(t->flags & CPU_IS_FIRST_THREAD_IN_CORE))
 
        /* submit per-core data only for 1st thread in core */
        if (!(t->flags & CPU_IS_FIRST_THREAD_IN_CORE))