Skip to content

Commit 5bf5d49

Browse files
committed
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 <[email protected]>
1 parent ce2af08 commit 5bf5d49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

samples/ngx-lj-trace-exits.sxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ probe @pfunc(ngx_http_free_request)
3434
}
3535
}
3636

37-
probe process("$^libluajit_path").function("lj_trace_exit") {
37+
probe process("$^libluajit_path").function("lj_trace_exit"),
38+
process("$^libluajit_path").function("lj_vm_exit_interp") {
3839
if (active_req) {
3940
req_exits[active_req]++
4041
}

0 commit comments

Comments
 (0)