Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[linuxtools-dev] CTF timestamps in big endian

Hi everyone,

I am trying to use the stock LTTng plugin that came with the Eclipse IDE for C/C++ Developers, Juno (version number looks like 1.0.0.201206130106) in order to view Kernel CTF traces generated by LTTng 2.0 on two different embedded targets (ARM and PowerPC).

While on ARM (little endian) everything seems to work fine, on PowerPC (big endian) I get absolutely meaningless timestamps, ranging to years 2050, 2145, and so on... I get huge gaps (as I see only the time of day part, it looks like hours, but it might be as well be years!) between consecutive events.

Groups of adjacent events do sometimes get displayed with reasonably close timestamps though (I guess for those events which got dumped with a compact representation of the timestamp and/or header).

The output of babeltrace for the same trace looks OK.

Any other fields (pids, tids, task names, etc..) which would be affected by a global endianness problem still look OK, so it's definitely something related to timestamps.

Any ideas? Shall I send the affected trace?

Thank you,
Gerlando


Back to the top