Exclude call_user_func() and call_user_func_array()

Created on 30 May 2014, almost 11 years ago
Updated 16 May 2025, 3 days ago

The documentations for xhprof notes that the call graphs are much easier to read when these two functions are omitted β€” and it's correct. Simplifies things nicely.

To do this, in xhprof.module, around line 101, I replaced the call to xhprof_enable() thusly:


    xhprof_enable($flags,
      array('ignored_functions' =>  array('call_user_func',
        'call_user_func_array')));

It would be excellent if this were an option via the UI.

✨ Feature request
Status

Closed: outdated

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States aangel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024