tools/power turbostat: fix typo on DRAM column in Joules-mode
authorLen Brown <len.brown@intel.com>
Fri, 24 Jul 2015 14:35:23 +0000 (10:35 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 24 Jul 2015 14:35:23 +0000 (10:35 -0400)
< RAM_W
> RAM_J

Reported-by: Hubert Chrzaniuk <hubert.chrzaniuk@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c

index 915eb2846a2d6ae89eae6622bf2548e9999882f2..9655cb49c7cb8eb6427b078e0472451b777b9910 100644 (file)
@@ -372,7 +372,7 @@ void print_header(void)
                if (do_rapl & RAPL_GFX)
                        outp += sprintf(outp, "   GFX_J");
                if (do_rapl & RAPL_DRAM)
-                       outp += sprintf(outp, "   RAM_W");
+                       outp += sprintf(outp, "   RAM_J");
                if (do_rapl & RAPL_PKG_PERF_STATUS)
                        outp += sprintf(outp, "   PKG_%%");
                if (do_rapl & RAPL_DRAM_PERF_STATUS)