0

Task: get custom human readable output from already generated CTF data, like babeltrace's sink.text.pretty.

Question: Does anyone know the cheapest solution to solve this task? Has anyone already tried one of the mentioned options?

Possible solutions:

  1. Use babeltrace2 python API to read a file or stream, iterate over all the trace entries, get each field and construct a string.
  2. Write a plugin for babeltrace2 which implements a sink, like sink.text.pretty, but with different output format.
  3. Same as point 2 but the plugin would take a template with placeholders which will be replaced with values of CTF trace entry fields.

Thank you for any feedback!

President James K. Polk
  • 40,516
  • 21
  • 95
  • 125
Max
  • 31
  • 4

0 Answers0