On 01/22/2013 16:03, Ryan Stone wrote:
Offhand, I can't of why this isn't working. However there is already a way
to add new DTrace probes to the kernel, and it's quite simple, so you could
try it:
Thank you for this information, this works.
As for my previous approach, there is a bug in gcc
I tried to create my own DTrace sensors (for debugging purposes) through
adding of the simple function like this:
static u_int
xxx_my_trace(int arg) {
return 1;
}
It is listed in dtrace -l with its entry and return sensors.
8143fbtkernel xxx_my_trace entry
On Tue, Jan 22, 2013 at 2:41 PM, Yuri y...@rawbw.com wrote:
I tried to create my own DTrace sensors (for debugging purposes) through
adding of the simple function like this:
static u_int
xxx_my_trace(int arg) {
return 1;
}
It is listed in dtrace -l with its entry and return sensors.
3 matches
Mail list logo