Re: [PATCH 15/23] perf tools: Add perf data version 3 header read

2013-07-22 Thread Jiri Olsa
On Fri, Jul 19, 2013 at 09:11:39PM +0900, Namhyung Kim wrote: > On Wed, 17 Jul 2013 19:49:55 +0200, Jiri Olsa wrote: > > Adding perf data version 3 header read code to load > > data for v3 format. > > > [SNIP] > > + > > + session = container_of(header, struct perf_session, header); > > + if (se

Re: [PATCH 15/23] perf tools: Add perf data version 3 header read

2013-07-19 Thread Namhyung Kim
On Wed, 17 Jul 2013 19:49:55 +0200, Jiri Olsa wrote: > Adding perf data version 3 header read code to load > data for v3 format. > [SNIP] > + > + session = container_of(header, struct perf_session, header); > + if (session->evlist) > + return 0; I guess we need version check he