Displaying 1 result from an estimated 1 matches for "socksubr".
2007 Jan 10
13
[DTrace] how to get socket read size
.../*
** 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 flag)
_______________________________________________
DTrace mailing list
DTrace@opensolaris.org
https://www.opensolaris.org/mailman/listinfo/dtrace