Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dtrace Invalid Probe Specifier error

I installed Dtrace in Ubuntu 11.04.

I was able to run:

dtrace -n 'syscall:::'

and:

sudo dtrace -l | grep terminal

commands properly and got the results.

But when I tried to run:

dtrace -n 'proc:::exec-success { trace(curpsinfo->pr_psargs); }'

I'm getting error saying:

dtrace: invalid probe specifier proc:::exec-success { trace(curpsinfo->pr_psargs); }: probe description proc:::exec-success does not match any probes.

What is wrong here? How can I fix this?

like image 507
Chamila Wijayarathna Avatar asked Jan 25 '26 20:01

Chamila Wijayarathna


1 Answers

Check dtrace -l to see that the proc:::exec-success probe exists. DTrace ports take on different providers at different times. An incomplete port might not yet have the proc provider.

like image 67
ahl Avatar answered Jan 27 '26 14:01

ahl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!