[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Monitoring function calls from C in 5.1
- From: Bas Groothedde <lua@...>
- Date: Sun, 21 Aug 2022 16:30:03 +0200
Is there a way to monitor all function calls in Lua 5.1 (Lua functions and C functions) with access to their arguments and results? I know about lua_sethook, but according to the docs there is no access to arguments or results.
It's on Windows and I can optionally detour any API function for this, its purpose is profiling code including the influence of input and output on execution times.