I know that you have prepared profilers for the most popular frameworks or libraries, but we, and more developers, use own libraries (for example, legacy code)
I think that you can use something like XHProf, but for PHP 7+ and integrate the results in your agent, and then show it in the Retrace website.
Please, consider it.