Re: [RFC][PATCH] perf tools: Merge trace.info content intoperf.data
From: Frederic Weisbecker
Date: Wed Oct 07 2009 - 04:19:50 EST
On Wed, Oct 07, 2009 at 08:43:55AM +0200, Ingo Molnar wrote:
> Meanwhile i've applied your two patches - they are clear steps forward.
> We'll need the -stable fix so that the new perf.data can be read. (and
> even that only affects -R afaics - so normal perf record / perf report
> is compatible.)
That affects every new perf.data
We have a new trace_info offset/size pair even if we haven't
any trace.info, these will just be zero in that case.
This new pair has grown the header, making it uncompatible.
But the stable patch should solve this.
> Btw., we also need a patch for new perf to read older perf.data files
> [non-trace.info ones], as those are not working either:
>
> $ perf report
> Fatal: incompatible file format
>
> ( We dont want to push it - i.e. i dont think we need to support old
> perf.data + trace.info combos. )
>
> Ingo
Ok.
--
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/