Messages in this thread | | | Date | Tue, 24 Mar 2009 16:46:23 +0800 | From | Li Zefan <> | Subject | Re: [PATCH 5/5] blktrace: print human-readable act_mask |
| |
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
| |