I'd like to collect filenames for every ioctl syscall. I found in manual that arg0-argN is arguments for system call like that
ioctl <http://src.opensolaris.org/source/s?refs=ioctl&project=/onnv>(*int* fdes <http://src.opensolaris.org/source/s?defs=fdes&project=/onnv>, *int* cmd <http://src.opensolaris.org/source/s?defs=cmd&project=/onnv>, intptr_t <http://src.opensolaris.org/source/s?defs=intptr_t&project=/onnv> arg <http://src.opensolaris.org/source/s?defs=arg&project=/onnv>) ioctl(arg0,arg1,arg2) i found that arg0 is file_t type, and try to trace pathname dtrace -n 'syscall::ioctl:entry / execname != "dtrace" / { printf("%s %s",execname,arg0->f_vnode->v_path) }' But i found that arg0 is not pointer at all. Now i complitly lost. ___________ Voropaev Pavel.
_______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org