Opened 9 years ago

Closed 9 years ago

#335 closed defect (fixed)

Fix RT export of native format packets

Reported by: salcock Owned by: salcock
Priority: minor Milestone: libtrace3
Component: libtrace-library Version:
Keywords: Cc:


Need to think a bit more about the availability of the various format prepare_packet functions, especially for formats that we compile conditionally.

For example, imagine a setup where a monitor is capturing using int: on a Linux machine and exporting over RT to a BSD client. The BSD client will not be able to decode the packets correctly because format_linux.c will not have been built - so it can't create a dummy int: trace or call trace_prepare_packet using it.

Instead, we need to consider re-aligning the conditional compilation to at least build a barebones version of the format that includes all the packet parsing and preparation functions but not init, read, write etc.

Not a huge priority, because we're not likely to need this anytime soon but is a bit of a major oversight...

Change History (1)

comment:1 Changed 9 years ago by salcock

  • Resolution set to fixed
  • Status changed from new to closed

This should now work as a result of changes in r1780, r1781 and r1782. I've tested it with both Linux->Mac OS X and Mac OS X->Linux, so should be good to go.

I've also quickly checked that I didn't break the native formats on their native machine.

Note: See TracTickets for help on using tickets.