|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] perfc: Print a system time in a convenient format
From: Andrii Anisov <andrii_anisov@xxxxxxxx>
Signed-off-by: Andrii Anisov <andrii_anisov@xxxxxxxx>
---
xen/common/perfc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/xen/common/perfc.c b/xen/common/perfc.c
index 0675677..0abd977 100644
--- a/xen/common/perfc.c
+++ b/xen/common/perfc.c
@@ -33,8 +33,7 @@ void perfc_printall(unsigned char key)
unsigned int i, j;
s_time_t now = NOW();
- printk("Xen performance counters SHOW (now = 0x%08X:%08X)\n",
- (u32)(now>>32), (u32)now);
+ printk("Xen performance counters SHOW (now = %"PRI_stime")\n", now);
for ( i = j = 0; i < NR_PERFCTRS; i++ )
{
--
2.7.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |