dtrace
How can I get command arguments with D-trace on OSX
I\'m trying to preview run commands with the args with D-trace. I tried something like开发者_如何学运维 this:[详细]
2023-04-08 23:50 分类:问答Detecting redundant function calls within call stack tree with DTrace
I\'m having a hard time tracking down unnecessary redundant calls within a rather complex algorithm. It looks like (some of my) my algorithm(s) is/are seriously slowed down by redundant calls (in sev[详细]
2023-03-29 15:44 分类:问答Is it possible to get the result of objc method in dtrace?
I wrote an action that fires when any开发者_如何学C objc method return (objc:::return). For now, I need to get the return value. Is it possible?In summary: no, you can’t get the return value of an Ob[详细]
2023-03-28 00:40 分类:问答How to learn about kernel variables for DTrace?
I am only interested in answers related to Mac OS X as I would assume the answer would be different based on OS.[详细]
2023-03-14 20:50 分类:问答Can I ask dtrace what probes are enabled?
If it matters, I am using Mac OS X, but I believe this would apply across OSs. If the answer is different per OS, I would be interested in learning about that as well.[详细]
2023-03-14 05:22 分类:问答How do I log messages / break execution for alloc, retain, release and dealloc of CFType objects?
I want to be able to log messages (and preferably break to the debugger) each time a specific CFType object (for my current purposes, a CGPDFDocument) is allocated, retained, released or deallocated.[详细]
2023-02-13 05:53 分类:问答Can't Enable DTrace probes via jinfo on Mac OS X
Running Java 6 on Snow Leopard. You\'re supposed to be able to turn on ExtendedDTraceProbes on a running Java process with the jinfo utility.Even at my command prompt jinfo talks about about enabling[详细]
2023-02-09 00:25 分类:问答Java DTrace bridge on OS X
I am trying to grab filesystem events on OS / Kernel level on OS X. There are 2 requirements i have to follow. The first one is 开发者_如何学运维to do this in java as the whole project im developing f[详细]
2023-02-06 12:00 分类:问答automated assembly loop level profiling
Does anyone know any assembly loop level profiler? I have been using gprof but gprof hides loops and it is function level profiling, yet to optimize my code i want something to go to the loop level.[详细]
2023-02-02 22:47 分类:问答NullPointerException when Starting an application with BTrace agent
I am using BTrace 1.2 and followed user guide from BTrace website. I have no problems using BTrace on running programs with command:[详细]
2023-01-26 06:09 分类:问答