.
D 2007-09-26T08:41:02
J closedate 2007-09-26T01:41:02
J closer das
J icomment Logged\sIn:\sYES\s\nuser_id=90580\nOriginator:\sYES\n\nI\shave\sdocumented\sthe\sDTrace\ssupport\son\sthe\swiki\sat\s\nhttp://wiki.tcl.tk/DTrace\nThis\spage\salso\shas\sa\s'Discussion'\ssection\sat\sthe\sbottom,\sI\sam\sclosing\sthis\ntracker\sitem\snow\sthat\sthe\spatch\shas\sbeen\scommitted.\n\nsdeasey:\n-\sthe\sproc-,\scmd-,\sinst-\sand\stcl-\sprobe\smacros\sonly\smake\ssense\sto\suse\sat\sthe\stcl-internal\sprobe-sites,\sso\sthere\sare\sno\splans\sto\smake\sthese\spublicly\savailable.\n-\sto\sget\sobj-\sprobes\sfor\syour\sextension,\suse\spublic\sobject\sallocation/deallocation\sAPI,\sor\sinclude\stclInt.h\swith\sUSE_DTRACE\sdefined\s(and\sensure\syour\slink\sstep\sis\sdtrace\saware).\sHowever,\sthe\sdetails\sof\sthe\sDTrace\sobj-\sprobe\simplementations\sin\stclInt.h\sshould\sbe\sconsidered\ssubject\sto\schange\s(as\swith\sall\sinternal\sAPI).\n-\snothing\sprevents\syou\sfrom\susing\sthe\sstandard\sDTRACE_PROBE/DTRACE_PROBE1\setc.\smacros\sfrom\s<sys/sdt.h>\sin\syour\sextensions,\sI\sdon't\ssee\sthe\svalue\sgained\sfrom\sadding\sTCL_*\smacro\swrappers\sto\sthese,\sespecially\ssince\sthe\stcl\sprovider\sis\snot\susing\sthem\sitself\s(and\sdoes\snot\sinclude\s<sys/sdt.h>,\sit\suses\sprobe\smacros\sgenerated\sby\s'dtrace\s-h').\n-\sI\sdo\snot\sdevelop\son\slinux\sand\sso\shave\sno\splans\sto\simplement\ssystemtap\ssupport,\sbut\sother\stcl\smaintainers\smight.\sIt\sdoes\snot\slook\slike\ssystemtap\shas\ssomething\sequivalent\sto\sUSDT\sin\sDTrace\syet?\n-\sthe\sinternal\sdetails\sof\sthe\scurrent\simplementation\sshould\sbe\sadaptable\sto\ssupport\sother\stracing\smechanisms,\sthe\sonly\sexported\sfacility\sis\s[tcl::dtrace],\sI\sdo\snot\ssee\sa\smajor\sproblem\swith\sthe\sDTrace\sspecific\sname,\se.g.\ssystemtap\stracing\scould\sdefine\s[tcl::systemtap]\sand\sinit.tcl\scould\sthen\sdefine\sa\sgeneric\s[interp\salias]\ssuch\sas\s[tcl::probe]\sto\swhichever\sone\sis\savailable\s(or\sto\sthe\sempty\sproc\sif\sneither\sis).\sThis\swould\sallow\sscript-level\sdetection\sof\stracing\ssupport\svia\s[info\scommands]\sin\saddition\sto\shaving\sa\sgeneric\scommand\sfor\sprobe\striggering\sfrom\stcl.\n\n
J login das
J mimetype text/plain
J resolution Fixed
J status Closed
J username das
K 1793984fffffffffffffffffffffffffffffffff
U das
Z 1e3583b6f077f2349953a9ee419072e2