projects
/
lttngtop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
de847ed
)
nicer output of the time spent in a syscall
author
Julien Desfossez
<jdesfossez@efficios.com>
Mon, 10 Feb 2014 20:17:39 +0000
(15:17 -0500)
committer
Julien 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
patch
|
blob
|
blame
|
history
diff --git
a/src/lttngtop.c
b/src/lttngtop.c
index 46493482de9890238685ed5bbc54ee2639f93f0f..03d79d4c907ad678fb4d3ff6697ea07696f0c591 100644
(file)
--- a/
src/lttngtop.c
+++ b/
src/lttngtop.c
@@
-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.024431 seconds
and
4
git commands to generate.