GSoC Project | Basic Support for Trace Compass

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jun 25 18:37:09 UTC 2019


I had a look at the metadata file:

typedef enum events_e : uint64_t_be {

Why is it like this? Your structure looks like this:

typedef struct ctf_event {
  uint32_t                     event_id;
  uint64_t                     ns;
  uint32_t                     cpu;
  rtems_record_event           event;
  uint64_t                     data;
} ctf_event;

A enum is usually an int, which is int32_t on x86_64. If you don't know what big and little endian is, then look at wikipedia. Getting this sort of things done with trial and error is not time efficient.


More information about the devel mailing list