search for: so_update_attr

Displaying 1 result from an estimated 1 matches for "so_update_attr".

Did you mean: so_update_attrs
2007 Jan 10
13
[DTrace] how to get socket read size
...es two arguments but you grab size of write via arg3? i would appreciate any hints on how to accomplish this task, and an explanation of how the args work if i''m missing something Thanks James Dickens information relied on: from socketsize.d /* ** Process Socket Write */ fbt:sockfs:so_update_attrs:entry /arg1 == 1/ { /* fetch details */ this->size = arg3; cmd = (string)curpsinfo->pr_psargs; /* store details */ @Size[pid,cmd] = quantize(this->size); } from src/src/uts/common/fs/sockfs/socksubr.c void so_update_attrs(struct sonode *so, int f...