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

Li Zefan
2009-03-24T08:46:19Z

Ingo Molnar wrote:
> * Li Zefan <lizf@cn.fujitsu.com> 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