From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [PATCH 7/7] xen: sched / cpupool: dump the actual value of NOW() Date: Thu, 08 Oct 2015 14:53:20 +0200 Message-ID: <20151008125320.12522.62099.stgit@Solace.station> References: <20151008124027.12522.42552.stgit@Solace.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZkAhI-0001cV-7G for xen-devel@lists.xenproject.org; Thu, 08 Oct 2015 12:53:24 +0000 Received: by wicgb1 with SMTP id gb1so24253784wic.1 for ; Thu, 08 Oct 2015 05:53:22 -0700 (PDT) In-Reply-To: <20151008124027.12522.42552.stgit@Solace.station> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Juergen Gross , George Dunlap List-Id: xen-devel@lists.xenproject.org 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 --- Cc: Juergen Gross Cc: George Dunlap --- xen/common/cpupool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/cpupool.c b/xen/common/cpupool.c index 69b984c..e79850b 100644 --- a/xen/common/cpupool.c +++ b/xen/common/cpupool.c @@ -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) )