Skip to content

Commit e935681

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 e935681

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/ngx-lj-trace-exits.sxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ probe @pfunc(ngx_http_free_request)
3535
}
3636

3737
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)