Ene 23 2008
Port de Dtrace a OS X
Adam Leventhal, uno de los ingenieros del equipo de desarrollo de DTrace cuenta en su blog que Apple ha tenido a bien portar DTrace a OS X. Y de paso, y como quien no quiere la cosa, ha modificado el código para evitar el acceso a determinados procesos:
The notion of true systemic tracing was a bit too egalitarian for their classist sensibilities so they added this glob of lard into dtrace_probe() — the heart of DTrace:
#if defined(__APPLE__) /* * If the thread on which this probe has fired belongs to a process marked P_LNOATTACH * then this enabling is not permitted to observe it. Move along, nothing to see here.*/
if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) { continue; }
#endif /* __APPLE__ */
No es que Apple no esté en su derecho, la licencia de DTrace lo permite… Pero es un asunto feo.
Comentarios desactivados en Port de Dtrace a OS X

