projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b07f23
)
[PATCH] blkparse: only break out of last loop if not dumping to stdout
author
Jens Axboe
<axboe@suse.de>
Mon, 3 Oct 2005 12:27:05 +0000
(14:27 +0200)
committer
Jens Axboe
<axboe@suse.de>
Mon, 3 Oct 2005 12:27:05 +0000
(14:27 +0200)
Otherwise sending a ctrl-c when running btrace will quit, leaving
entries never dumped.
blkparse.c
patch
|
blob
|
blame
|
history
diff --git
a/blkparse.c
b/blkparse.c
index ade9fbbedca28fec15691a32bc81f1d7155ff778..0a3655d89e78ee4cd273e83df561c6fb1178d9a0 100644
(file)
--- a/
blkparse.c
+++ b/
blkparse.c
@@
-1360,7
+1360,7
@@
static void show_entries_rb(int force)
struct trace *t;
while ((n = rb_first(&rb_sort_root)) != NULL) {
- if (is_done() && !force)
+ if (is_done() && !force
&& !pipeline
)
break;
t = rb_entry(n, struct trace, rb_node);