Pierre-Olivier Gaillard wrote:
> Hi,
>
> I am collecting calls to C a function with the pid provider and I
> collect the parameters of each call (doing @a[arg0,arg1,arg2] = count();).
> One of the parameters (arg1) is a function pointer. So, I take the value
> I obtained and examine it with dbx.
Not sure about the offset since I have not yet seen your testcase. However,
based on what you have described, I created a testcase and it seems both
DTrace and dbx print the correct address of the function pointer without any
offset!
%cat ufunc.d
#!/usr/sbin/dtrace -s
pid$target:$1::entry
{
"Pierre-Olivier" == Pierre-Olivier Gaillard <[EMAIL PROTECTED]> writes:
Pierre-Olivier> I am collecting calls to C a function with the pid
Pierre-Olivier> provider and I collect the parameters of each call
Pierre-Olivier> (doing @a[arg0,arg1,arg2] = count();). One of the
Pierre-Olivier> parameter
Hi,
I am collecting calls to C a function with the pid provider and I collect
the parameters of each call (doing @a[arg0,arg1,arg2] = count();).
One of the parameters (arg1) is a function pointer. So, I take the value I
obtained and examine it with dbx.
Dbx then prints the address as being myFunct
Hi,
Please give your suggestion about dtrace keys to aggregation's charcter.
Is there any limit character specification of the use of aggregation buffer?
If it have any problem, USDT or pid provider's aggregation can't be
used by containing japanese.
Any advice is appreciated.
Regards
katohisa