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

From: David Ahern
Date: Fri Oct 18 2013 - 09:30:24 EST


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
makes perf script process in-stream attributes in
the same way as on-file attributes.

You have multiple changes in this patch -- expanding attribute processing to set output options per the description above and you are also making perf_script a stack variable. The latter should be a separate patch.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/