Re: [PATCH v5 16/19] tracing: probeevent: Add array type support

2018-03-16 Thread Masami Hiramatsu
On Thu, 8 Mar 2018 17:50:51 +0900 Masami Hiramatsu wrote: > Add array type support for probe events. > This allows user to get arraied types from memory address. > The array type syntax is > > TYPE[N] > > Where TYPE is one of types (u8/16/32/64,s8/16/32/64, > x8/16/32/64, symbol, string)

Re: [PATCH v5 16/19] tracing: probeevent: Add array type support

2018-03-15 Thread Ravi Bangoria
On 03/15/2018 12:53 PM, Masami Hiramatsu wrote: > > Sorry, that is too complicated than enough. you should try to specify a[0] > instead of a. > > $ sudo ./perf probe -x ~/hello foo1 'a=a[0]:x32[3]' Cool.. that works fine. $ sudo ./perf script    hello  1779 [034]    76.081971: probe_

Re: [PATCH v5 16/19] tracing: probeevent: Add array type support

2018-03-15 Thread Masami Hiramatsu
Hi Ravi, On Thu, 15 Mar 2018 16:18:40 +0900 Masami Hiramatsu wrote: > On Thu, 15 Mar 2018 11:18:19 +0530 > Ravi Bangoria wrote: > > > Hi Masami, > > > > On 03/08/2018 02:20 PM, Masami Hiramatsu wrote: > > > Add array type support for probe events. > > > This allows user to get arraied types f

Re: [PATCH v5 16/19] tracing: probeevent: Add array type support

2018-03-15 Thread Masami Hiramatsu
On Thu, 15 Mar 2018 11:18:19 +0530 Ravi Bangoria wrote: > Hi Masami, > > On 03/08/2018 02:20 PM, Masami Hiramatsu wrote: > > Add array type support for probe events. > > This allows user to get arraied types from memory address. > > The array type syntax is > > > > TYPE[N] > > > > Where TYPE

Re: [PATCH v5 16/19] tracing: probeevent: Add array type support

2018-03-14 Thread Ravi Bangoria
Hi Masami, On 03/08/2018 02:20 PM, Masami Hiramatsu wrote: > Add array type support for probe events. > This allows user to get arraied types from memory address. > The array type syntax is > > TYPE[N] > > Where TYPE is one of types (u8/16/32/64,s8/16/32/64, > x8/16/32/64, symbol, string) an

[PATCH v5 16/19] tracing: probeevent: Add array type support

2018-03-08 Thread Masami Hiramatsu
Add array type support for probe events. This allows user to get arraied types from memory address. The array type syntax is TYPE[N] Where TYPE is one of types (u8/16/32/64,s8/16/32/64, x8/16/32/64, symbol, string) and N is a fixed value less than 64. The string array type is a bit diffe