From: Alan David Brunelle Date: Fri, 1 Sep 2006 07:26:30 +0000 (+0200) Subject: [PATCH] Ignore PC packets in btt X-Git-Tag: blktrace-0.99.2~31 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=f8d501e119a3e3c782e078fec61fd808854b240d;p=blktrace.git [PATCH] Ignore PC packets in btt BTT isn't really meant to trace those, and is causing problems with some seek additions to btt I'm working on. --- diff --git a/btt/trace.c b/btt/trace.c index 00501ba..0008ffa 100644 --- 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); }