Hello,
I need to use the pid provider to trace the inputs and return value of
the following function
calc_guest_util(rs_guest_util_t *gutil, int ncpu, int fcpu)
{
snip
return ((100.0 * (double)used_cycles) / (double)(total_cycles));
}
I can trace the input arguments with the following
Hey Andrea,
As you can see the return value is an address, actually the same address as
arg0 in entry.
I suspect I'm doing something wrong in dtrace but I can't realize
whatCould you please advice?
The return type of calc_guest_util() was cut off, but I infer that
it's a double. DTrace