Re: [dtrace-discuss] Function pointer offset

2007-09-14 Thread Dan Mick
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.

Re: [dtrace-discuss] Function pointer offset

2007-09-14 Thread Nasser Nouri
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 {

Re: [dtrace-discuss] Function pointer offset

2007-09-14 Thread Dave Marquardt
"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

[dtrace-discuss] Function pointer offset

2007-09-14 Thread Pierre-Olivier Gaillard
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

[dtrace-discuss] dtrace keys to aggregations 's character

2007-09-14 Thread Hisayoshi Kato
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