Re: [PATCH 07/19] perf script: Set up output options for in-stream attributes

2013-10-22 Thread Adrian Hunter
On 18/10/13 17:32, Arnaldo Carvalho de Melo wrote: > Em Fri, Oct 18, 2013 at 07:30:13AM -0600, David Ahern escreveu: >> On 10/18/13 6:29 AM, Adrian Hunter wrote: > >>> Attributes (struct perf_event_attr) are recorded separately in the perf.data >>> file. perf script uses them to set up output opt

Re: [PATCH 07/19] perf script: Set up output options for in-stream attributes

2013-10-18 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 18, 2013 at 07:30:13AM -0600, David Ahern escreveu: > On 10/18/13 6:29 AM, Adrian Hunter wrote: > >Attributes (struct perf_event_attr) are recorded separately in the perf.data > >file. perf script uses them to set up output options. However attributes > >can also be in the event stre

Re: [PATCH 07/19] perf script: Set up output options for in-stream attributes

2013-10-18 Thread David Ahern
On 10/18/13 6:29 AM, Adrian Hunter wrote: Attributes (struct perf_event_attr) are recorded separately in the perf.data file. perf script uses them to set up output options. However attributes can also be in the event stream, for example when the input is a pipe (i.e. live mode). This patch mak