Proof of concept of a Python-based CTF event filtering system. This is primarily an experiment in calling Python code from C, but provides a powerful filtering mechanism over Babeltrace.
$ ./babelpy /path/to/ctf/trace
You may customize your filter by editing filter.py and tweak the output formatting in formatter.py.