nicer output of the time spent in a syscall
authorJulien Desfossez <jdesfossez@efficios.com>
Mon, 10 Feb 2014 20:17:39 +0000 (15:17 -0500)
committerJulien Desfossez <jdesfossez@efficios.com>
Mon, 10 Feb 2014 20:17:39 +0000 (15:17 -0500)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
src/lttngtop.c

index 46493482de9890238685ed5bbc54ee2639f93f0f..03d79d4c907ad678fb4d3ff6697ea07696f0c591 100644 (file)
@@ -331,7 +331,7 @@ enum bt_cb_ret textdump(struct bt_ctf_event *call_data, void *private_data)
                                syscall_ret = bt_ctf_get_int64(bt_ctf_get_field(call_data,
                                                        scope, "_ret"));
 
-                               printf("= %" PRId64 " (+%" PRIu64 ".%09" PRIu64 ")\n",
+                               printf("= %" PRId64 " (%" PRIu64 ".%09" PRIu64 "s)\n",
                                                syscall_ret, delta / NSEC_PER_SEC,
                                                delta % NSEC_PER_SEC);
                                last_syscall = NULL;
This page took 0.031142 seconds and 4 git commands to generate.