With the "Show Gecko Platform Data" checkbox enabled, we don't see jsdbg2 hooks showing up in the profiler. I manually added a 100ms delay to a Debugger.onEnterFrame hook, which slowed the crap out of the page, and instead of showing up in the profiler, it looked like it was the content code that was really slow. I opened the profile's json in my editor, and I can find many references to onEnterFrame in there, but not in the profiler UI. Will see if the gecko addon is any different in a moment.
I don't know if it is my lack of experience with the gecko profiler addon, but it seems to be missing there as well.
Is this something we should add markers for or pseudoframes for? Been a year and a half, maybe new information here
I've since profiled functions that were run as jsdbg2 hooks. I think it may just have been the lack of an inverted tree and I couldn't find the functions.