Messages in this thread | | | Date | Fri, 16 Sep 2011 08:52:07 -0600 | From | David Ahern <> | Subject | Re: [PATCH] perf: make perf.data more self-descriptive (v4) |
| |
On 09/16/2011 08:44 AM, Stephane Eranian wrote: >> Sure, but all you need to know is if the file you're reading is a >> different endian than your box, if it is swap stuff, if its not, you're >> good. > > We agree on that. I am just saying the MAGIC string as it is today > may not be enough to tell us that.
Right. I think that's why the attribute struct is used to detect endianness and not the magic.
David
| |