Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions agent/php_observer.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ static zend_observer_fcall_handlers nr_php_fcall_register_handlers(
return handlers;
}

if (0 == nr_php_recording()) {
return handlers;
}

if (nrunlikely(NR_PHP_PROCESS_GLOBALS(special_flags).show_executes)) {
nr_php_show_exec("observe", execute_data, NULL);
}
Expand Down