From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: Re: [PATCH 7/7] xen: sched / cpupool: dump the actual value of NOW() Date: Fri, 9 Oct 2015 07:09:03 +0200 Message-ID: <56174BEF.2050009@suse.com> References: <20151008124027.12522.42552.stgit@Solace.station> <20151008125320.12522.62099.stgit@Solace.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZkPvV-0000ki-WF for xen-devel@lists.xenproject.org; Fri, 09 Oct 2015 05:09:06 +0000 In-Reply-To: <20151008125320.12522.62099.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: Dario Faggioli , xen-devel@lists.xenproject.org Cc: George Dunlap List-Id: xen-devel@lists.xenproject.org On 10/08/2015 02:53 PM, Dario Faggioli wrote: > 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 Acked-by: Juergen Gross > --- > 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) ) > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >