librseq memory allocator portability

Ondřej Surý ondrej at sury.org
Sun Feb 2 10:48:44 EST 2025


Hey Mathieu,

I’m actually thinking about using librseq for some more lightweight stuff first - like statistic counters (especially those related to memory allocations), and my first obvious question would be - how portable is the librseq memory allocator?

I am not keen on having a code with ifdef spaghetti to support BSDs, so I think that it probably should provide some per-thread memory pools at the expense of just consuming more memory on platforms without rseq system call.

Ondrej
--
Ondřej Surý (He/Him)


More information about the lttng-dev mailing list