From 5bf5d49b62080d45b865f0a76fe072f9574332a0 Mon Sep 17 00:00:00 2001 From: Eloy Coto Date: Tue, 23 Jul 2019 15:50:33 +0200 Subject: [PATCH] LJ_TRACE updates Due to the luajit parameter `hotexit` the lj_trace_exit function will only happens the number of times that hotexit happens. This will also probe the `lj_vm_exit_interp` function to make sure that all luajit function is in there. Signed-off-by: Eloy Coto --- samples/ngx-lj-trace-exits.sxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/ngx-lj-trace-exits.sxx b/samples/ngx-lj-trace-exits.sxx index bae9af6..8a1dbfd 100755 --- a/samples/ngx-lj-trace-exits.sxx +++ b/samples/ngx-lj-trace-exits.sxx @@ -34,7 +34,8 @@ probe @pfunc(ngx_http_free_request) } } -probe process("$^libluajit_path").function("lj_trace_exit") { +probe process("$^libluajit_path").function("lj_trace_exit"), + process("$^libluajit_path").function("lj_vm_exit_interp") { if (active_req) { req_exits[active_req]++ }