]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commitdiff
sched / cpupool: dump the actual value of NOW()
authorDario Faggioli <dario.faggioli@citrix.com>
Mon, 12 Oct 2015 14:01:22 +0000 (16:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 Oct 2015 14:01:22 +0000 (16:01 +0200)
rather than its hexadecimal representation. This makes
it easier to compare the actual system time with other
times being printed out (e.g., deadlines in RTDS).

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Juergen Gross <jgross@suse.com>
xen/common/cpupool.c

index 69b984c2b41ffe0209ebc1c8dcbcdc86230a6c37..e79850b38d9998e05ae449cdf2d77081d98c8ea4 100644 (file)
@@ -744,7 +744,7 @@ void dump_runq(unsigned char key)
 
     printk("sched_smt_power_savings: %s\n",
             sched_smt_power_savings? "enabled":"disabled");
-    printk("NOW=0x%08X%08X\n",  (u32)(now>>32), (u32)now);
+    printk("NOW=%"PRI_stime"\n", now);
 
     print_cpumap("Online Cpus", &cpu_online_map);
     if ( !cpumask_empty(&cpupool_free_cpus) )