public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* field-access operator
@ 2007-09-26  8:50 Wenji Huang
  2007-09-26  9:07 ` Wenji Huang
  0 siblings, 1 reply; 2+ messages in thread
From: Wenji Huang @ 2007-09-26  8:50 UTC (permalink / raw)
  To: zhaolei; +Cc: systemTAP

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: field-access operator
  2007-09-26  8:50 field-access operator Wenji Huang
@ 2007-09-26  9:07 ` Wenji Huang
  0 siblings, 0 replies; 2+ messages in thread
From: Wenji Huang @ 2007-09-26  9:07 UTC (permalink / raw)
  To: Wenji Huang; +Cc: zhaolei, systemTAP

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
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-26  5:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-26  8:50 field-access operator Wenji Huang
2007-09-26  9:07 ` Wenji Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).