It built, after removing -fstack-protector-all that is not available for that target and suppressing the libelf-dev tests.
Transferred a perf.data file created in a i386 machine and… it fails. Endianness issues, I guess. Will fully investigate this in the next days.
Comments
Ah! Yeah that reminds me we need to add an endianness field in the headers, so
that we can cross-handle the bitmap of features correctly.
I’ll send a patchlet for that soon.
An endianness field, yes, so that we can record at native endianness, i.e. at full speed, and only when decoding perform conversion.
I’ll take a look at exactly how is it that ELF handles this, trying to use some solution that was validated in some other domain already.