On Fri, Aug 3, 2012 at 5:24 PM, David Ahern <dsah...@gmail.com> wrote: > On 8/3/12 8:01 AM, Arnaldo Carvalho de Melo wrote: >> >> From: Arnaldo Carvalho de Melo <a...@redhat.com> >> >> That is a more compact form of perf_session__parse_sample and to support >> multiple evlists per perf_session is the way to go anyway. > > > So then all events in an evlist will have the same sample type? If you want > different sample types (at some point in the future) you will have to create > separate evlists? > Yes, you do want separate sample_type, otherwise you may be wasting a lot of buffer space and thus disk space for data you don't want. This is especially true once you start using the branch stack feature. But for that the kernel buffer format has to be extended. I have a patch that does that. Just haven't had the time to finish the perf support for it. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- [PATCH 09/18] perf evsel: Adopt parse_sample meth... Arnaldo Carvalho de Melo
- [PATCH 10/18] perf session: Remove no longer used... Arnaldo Carvalho de Melo
- [PATCH 02/18] perf symbols: Fix array sizes for b... Arnaldo Carvalho de Melo
- [PATCH 06/18] perf session: Use perf_evlist__samp... Arnaldo Carvalho de Melo
- [PATCH 04/18] perf evsel: Precalculate the sample... Arnaldo Carvalho de Melo
- [PATCH 05/18] perf session: Use perf_evlist__samp... Arnaldo Carvalho de Melo
- [PATCH 07/18] perf session: Use perf_evlist__id_h... Arnaldo Carvalho de Melo
- [PATCH 18/18] perf tools: Remove brace expansion ... Arnaldo Carvalho de Melo
- [PATCH 08/18] perf evlist: Introduce perf_evlist_... Arnaldo Carvalho de Melo
- Re: [PATCH 08/18] perf evlist: Introduce per... David Ahern
- Re: [PATCH 08/18] perf evlist: Introduce... Stephane Eranian
- [PATCH 03/18] perf target: Fix check on buffer si... Arnaldo Carvalho de Melo
- Re: [PATCH 03/18] perf target: Fix check on ... Kirill A. Shutemov
- Re: [PATCH 03/18] perf target: Fix check... Namhyung Kim
- Re: [PATCH 03/18] perf target: Fix c... David Ahern
- Re: [PATCH 03/18] perf target: F... Namhyung Kim
- [PATCH 15/18] perf tools: Change strlist to use t... Arnaldo Carvalho de Melo
- [PATCH 01/18] perf test: Fix parse events automat... Arnaldo Carvalho de Melo
- [PATCH 17/18] perf kvm top: Limit guest kernel in... Arnaldo Carvalho de Melo
- [PATCH 13/18] perf kvm: Use strtol for walking gu... Arnaldo Carvalho de Melo
- [PATCH 14/18] perf tools: Introducing rblist Arnaldo Carvalho de Melo