[issue4111] Add DTrace probes
Skip Montanaro
report at bugs.python.org
Fri Jan 23 03:00:47 CET 2009
Skip Montanaro <skip at pobox.com> added the comment:
me> I get an error later running dtrace which I have yet to investigate.
Apple's dtrace program doesn't support the -G flag. When I remove it from
Makefile.pre.in and rebuild I get an error about privileges:
dtrace -o Python/dtrace.o -C -s ./Python/python.d Python/ceval.o
dtrace: failed to initialize dtrace: DTrace requires additional privileges
I tried adding "sudo" to the dtrace command. Then it prompts for my
password and emits this error:
sudo dtrace -o Python/dtrace.o -C -s ./Python/python.d Python/ceval.o
Password:
dtrace: failed to compile script ./Python/python.d: line 11: extraneous argument 'Python/ceval.o' ($1 is not referenced)
I'm not sure what to do at this point. I'm not really a dtrace person.
Perhaps the Apple and Sun dtrace experts can offer a way out of this little
corner.
Skip
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4111>
_______________________________________
More information about the Python-bugs-list
mailing list