summaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2015-07-24 10:35:23 -0400
committerLen Brown <len.brown@intel.com>2015-07-24 10:35:23 -0400
commitbd6906ed3d7a00d55c9bd368a640ef83bb487d1d (patch)
treee937fedfbef88414f27c2871f79ff612cc17219f /tools/power
parenta01e72fbc41e322ed229465de8b595a7e3ec6549 (diff)
downloadop-kernel-dev-bd6906ed3d7a00d55c9bd368a640ef83bb487d1d.zip
op-kernel-dev-bd6906ed3d7a00d55c9bd368a640ef83bb487d1d.tar.gz
tools/power turbostat: fix typo on DRAM column in Joules-mode
< RAM_W > RAM_J Reported-by: Hubert Chrzaniuk <hubert.chrzaniuk@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/x86/turbostat/turbostat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 915eb28..9655cb4 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -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)
OpenPOWER on IntegriCloud