[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-btrace
Subject:    Re: Blktrace with read filter shows events with N for PIDs 0
From:       Jeff Moyer <jmoyer () redhat ! com>
Date:       2013-12-11 18:27:51
Message-ID: x49a9g74508.fsf () segfault ! boston ! devel ! redhat ! com
[Download RAW message or body]

Alireza Haghdoost <haghdoost@gmail.com> writes:

> On Wed, Dec 4, 2013 at 10:02 AM, Lakshmi <sendtold@gmail.com> wrote:
>> Hi,
>>
>> I ran a blktrace with -a read mask and when i parsed it to txt
>> file,Along with Reads (R) I also see lots of Ns in the RWBS field.
>
> I think the N events indicates that new data structure has been
> allocated for the request.

No.  It's a trace Notify message, which is used for debugging.

>> What does this mean and how do I filter only the reads or writes in
>> this case?

You can use the filter mask option for blktrace:

FILTER MASKS
       The following masks may be passed with the -a command line option, mul-
       tiple filters may be combined via multiple -a command line options.

              barrier: barrier attribute
              complete: completed by driver
              fs: requests
              issue: issued to driver
              pc: packet command events
              queue: queue operations
              read: read traces
              requeue: requeue operations
              sync: synchronous attribute
              write: write traces
              notify: trace messages     <=========================
              drv_data: additional driver specific trace

Cheers,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic