Re: perf/tracepoints access to interpreted strings

2015-04-21 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 21, 2015 at 09:07:33AM -0400, Steven Rostedt escreveu: > On Mon, 20 Apr 2015 15:26:56 -0600 David Ahern wrote: > > On 4/20/15 3:25 PM, Arnaldo Carvalho de Melo wrote: > > > Em Mon, Apr 20, 2015 at 04:46:16PM -0400, Steven Rostedt escreveu: > > >> On Wed, 15 Apr 2015 15:09:27 -0300 Arna

Re: perf/tracepoints access to interpreted strings

2015-04-21 Thread Steven Rostedt
On Mon, 20 Apr 2015 15:26:56 -0600 David Ahern wrote: > On 4/20/15 3:25 PM, Arnaldo Carvalho de Melo wrote: > > Em Mon, Apr 20, 2015 at 04:46:16PM -0400, Steven Rostedt escreveu: > >> On Wed, 15 Apr 2015 15:09:27 -0300 > >> Arnaldo Carvalho de Melo wrote: > >>> If it is strictly an enum, i.e. no

Re: perf/tracepoints access to interpreted strings

2015-04-20 Thread Namhyung Kim
Hi David, On Mon, Apr 20, 2015 at 03:26:56PM -0600, David Ahern wrote: > On 4/20/15 3:25 PM, Arnaldo Carvalho de Melo wrote: > >Em Mon, Apr 20, 2015 at 04:46:16PM -0400, Steven Rostedt escreveu: > >>On Wed, 15 Apr 2015 15:09:27 -0300 > >>Arnaldo Carvalho de Melo wrote: > >>>If it is strictly an e

Re: perf/tracepoints access to interpreted strings

2015-04-20 Thread David Ahern
On 4/20/15 3:25 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Apr 20, 2015 at 04:46:16PM -0400, Steven Rostedt escreveu: On Wed, 15 Apr 2015 15:09:27 -0300 Arnaldo Carvalho de Melo wrote: If it is strictly an enum, i.e. no holes and just by looking at the "format" file above I don't see how it c

Re: perf/tracepoints access to interpreted strings

2015-04-20 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 20, 2015 at 04:46:16PM -0400, Steven Rostedt escreveu: > On Wed, 15 Apr 2015 15:09:27 -0300 > Arnaldo Carvalho de Melo wrote: > > If it is strictly an enum, i.e. no holes and just by looking at the > > "format" file above I don't see how it could have holes, albeit enums > > may have,

Re: perf/tracepoints access to interpreted strings

2015-04-20 Thread Steven Rostedt
On Wed, 15 Apr 2015 15:09:27 -0300 Arnaldo Carvalho de Melo wrote: > Em Wed, Apr 15, 2015 at 10:20:08AM -0600, David Ahern escreveu: > > I was hoping you could provide points on how to get access to an interpreted > > field in a tracepoint within perf. > > > This is an example of the tracepoint

Re: perf/tracepoints access to interpreted strings

2015-04-15 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 15, 2015 at 10:20:08AM -0600, David Ahern escreveu: > I was hoping you could provide points on how to get access to an interpreted > field in a tracepoint within perf. > This is an example of the tracepoint: > # cat /sys/kernel/debug/tracing/events/irq/softirq_exit/format > name: so

perf/tracepoints access to interpreted strings

2015-04-15 Thread David Ahern
Hi Steve: I was hoping you could provide points on how to get access to an interpreted field in a tracepoint within perf. This is an example of the tracepoint: # cat /sys/kernel/debug/tracing/events/irq/softirq_exit/format name: softirq_exit ID: 99 format: field:unsigned short common_