Re: [PATCH 5/5] blktrace: print human-readable act_mask

From: Li Zefan
Date: Tue Mar 24 2009 - 04:46:19 EST


Ingo Molnar wrote:
> * Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:
>
>> Print stringified act_mask instead of hex value:
>> # cat act_mask
>> read,write,barrier,sync,queue,requeue,issue,complete,fs,pc,ahead,meta,
>> discard,drv_data
>> # echo "meta,write" > act_mask
>> # cat act_mask
>> write,meta
>
> btw., does user-space blktrace make use of this facility?
>

This facility can be used when we are using ftrace blktrace.

The userspace blktrace gets the filter-list via [-A hex-mask] and [-a str-mask].

like: blktrace -d /dev/sda -a write -a meta
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/