Re: [PATCH] perf: make perf.data more self-descriptive (v4)

From: David Ahern
Date: Fri Sep 16 2011 - 10:52:12 EST



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
--
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/