tanelpoder / tpt-oracle

Tanel Poder's Performance & Troubleshooting Tools for Oracle Databases
https://tanelpoder.com
Other
655 stars 312 forks source link

dstackprof invalid probe specifier and floating constant error #33

Closed kaushalruparel closed 3 years ago

kaushalruparel commented 3 years ago

Hello, I am getting below erorr while using dstackprof on

Linux 4.1.12-124.46.4.1.el7uek.x86_64 #2 SMP x86_64 x86_64 x86_64 GNU/Linux with root user. Not sure where to start looking for workaround. Can I get help please.

DStackProf v1.02 by Tanel Poder ( http://www.tanelpoder.com )
Sampling pid 26264 for 5.000 seconds with stack depth of 100 frames...

dtrace: invalid probe specifier
profile-1001
/pid == $target/ {
    @u[ustack(100)] = count();
    @k[stack(100)]  = count();
}
tick-1sec
/i++ >= 5.001/ {
    exit(0);
}
END {
    printa(@u);
    printa(@k);
}
: floating-point constants are not permitted
0 samples with stack below
__________________

0 Total samples captured
tanelpoder commented 3 years ago

I guess I missed this question back when you posted it. I never tested this on Linux (with Oracle's DTrace that's not as complete on Linux compared to Solaris).

kaushalruparel commented 3 years ago

Yeah it seems lack of support from Linux kernel side. Thanks and Cheers :)