[RFC] -rdynamic instead of function pointers for Lua(JIT) scripting?

Victor Krapivensky krapivenskiy.va at phystech.edu
Sun Sep 3 13:15:06 UTC 2017


We could make all the functions we currently provide to FFI non-static,
feed their definitions to ffi.cdef, and build strace with -rdynamic,
instead of providing function pointers to Lua(JIT).

This would improve the performance, as LuaJIT's FFI inlines calls to
such functions, though this is surely not the bottleneck anyway.

What are the downsides of such approach?




More information about the Strace-devel mailing list