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? ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel