This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: field-access operator


Sorry, I misunderstand that.

It's OK, Please ignore it.

But nfs_proc_read/nfs_proc_write is missing since kernel 2.6.20. Need to change.

Regards,
wenji

Wenji Huang wrote:

Hi Zhaolei,

Found items in tapset/Changlog

2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com <mailto:zhaolei@cn.fujitsu.com>>

        From Lai Jiangshan <laijs@cn.fujitsu.com>
        modify field-access operator from "." to "->" in all files.

In kernel, struct nfs_read_data {
        ...........
           unsigned int            npages; /* Max length of pagevec */
          struct nfs_readargs args;
          struct nfs_readres  res;
        .......
    };

So the reference should be $rdata->args.count/$rdata->args.offset. Same case in nfs_write_data.

Regards,
wenji




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]