retis-org / retis

Tracing packets in the Linux networking stack & friends
https://retis.readthedocs.io/en/stable/
100 stars 14 forks source link

Benchmark: build the raw event instead of using a static slice #412

Closed atenart closed 1 month ago

atenart commented 4 months ago

Instead of using a statically defined slice containing a valid raw event, build one at runtime. This has the immense advantage of not having to fight that static definition whenever we modify raw event sections. As a side effect it's easier to control the raw event and the raw section content, opening the way for fine grained benchmarks.

atenart commented 4 months ago

Rebased on top of main and fixed conflicts. Some modifications in the ct raw event modifications due to the recent changes in the ct collector (parent info support).