amzn / hawktracer

HawkTracer is a highly portable, low-overhead, configurable profiling tool built in Amazon Video for getting performance metrics from low-end devices.
MIT License
133 stars 31 forks source link

Add support for platforms with different endianness #16

Closed loganek closed 4 years ago

loganek commented 6 years ago

HawkTracer requires to run client and profiling application on platforms with the same endianness. We should support different endiannness in the protocol. Probably we could define a SystemInfo event which contains information about endianness (and in the future, some other information as well). I.e.

SystemEvent : Event {
  endianness: uint8_t
};

We should also have an easy way to push this event to a timeline.

loganek commented 4 years ago

This has already been implemented in 37f2266bad2a50dc7486f4bdccaf7a5c09d63fb2