projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e33da1d
)
[PATCH] Ignore PC packets in btt
author
Alan David Brunelle
<Alan.Brunelle@hp.com>
Fri, 1 Sep 2006 07:26:30 +0000
(09:26 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 1 Sep 2006 07:26:30 +0000
(09:26 +0200)
BTT isn't really meant to trace those, and is causing problems with some
seek additions to btt I'm working on.
btt/trace.c
patch
|
blob
|
blame
|
history
diff --git
a/btt/trace.c
b/btt/trace.c
index 00501ba4d5330af0de7c39bd174d458552415cdf..0008ffa563caeb3829495c22ce42ebba6835cc47 100644
(file)
--- a/
btt/trace.c
+++ b/
btt/trace.c
@@
-407,6
+407,8
@@
void add_trace(struct io *iop)
add_process(iop->t.pid, iop->pdu);
release_iop(iop);
}
+ else if (iop->t.action & BLK_TC_ACT(BLK_TC_PC))
+ release_iop(iop);
else
__add_trace(iop);
}