search for: fasttrap_tracepoint_en

Displaying 1 result from an estimated 1 matches for "fasttrap_tracepoint_en".

2010 Aug 10
2
USDT probes
...an usdt probe I get: libdtrace DEBUG: defined probe database:::query-start main() +0x13 (main) When I run ''dtrace -n ''database*:::'''' the fasttrap module inserts the probe at the 0x13 offset, not the actually vaddr of main() + offset. I added a debug printf in fasttrap_tracepoint_enable(): installing tracepoint on pid 1288 pc 0x13 Of course this doesn''t work because main() is actually at 0x4011d0. To overcome this I thought that dtrace(1) would try to grab the process and discover the vaddr of main. But from I can see dtrace(1) never grabs the process. How does DT...