Discussion:
[PATCH 3/4] report_summary: fprintf() arguments count mismatch
Sergey Senozhatsky
2012-02-11 23:52:55 UTC
Permalink
fprintf() in csv_report output mode awaits less arguments than given.
Do not ignore total_xwakes() and total_cpu_time() in in csv_report mode.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky-***@public.gmane.org>

---

process/do_process.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/process/do_process.cpp b/process/do_process.cpp
index f97b7e7..9befc63 100644
--- a/process/do_process.cpp
+++ b/process/do_process.cpp
@@ -883,7 +883,7 @@ void report_summary(void)
fprintf(reportout.csv_report,
"**Power Consumption Summary** \n");
fprintf(reportout.csv_report,
- "%3.1f, wakeups/second,\n%3.1f, GPU ops/second\n%3.1f, VFS ops/sec \n\n",
+ "%3.1f, wakeups/second,\n%3.1f, GPU ops/second\n%3.1f, VFS ops/sec\n%3.1f, GFX wakes/sec\n%3.1f%%, CPU use\n\n",
total_wakeups(), total_gpu_ops(), total_disk_hits(), total_xwakes(), total_cpu_time()*100);

if (show_power)

Loading...