I went to the list of xhprof runs, and re-loaded it a couple of times while viewing some nodes.
I noticed that the reload of the list itself also generated new log entries, despite the module having the "disable on admin pages" setting set. I tried debugging it for a while, but the logic for when it's on/off seems correct, so I couldn't figure out what was wrong, and switched back to using devel.

Comments

Fidelix’s picture

I have this same problem...

msonnabaum’s picture

Status: Active » Postponed (maintainer needs more info)

I just tested this and it's working as expected for me.

Should be pretty easy to debug though. Just see why xhprof_is_enabled() returns true.

erikwebb’s picture

I don't see the problem either. Any chance your page has an AJAX call on it that's causing the new XHProf run?

Letharion’s picture

It strikes me that it could have been APC acting up. I no longer use the module, so I can't tell at the moment, but when I was debugging, it seemed to me like the module was doing the right thing, and I got log entries anyway.

If APC was in reality doing something different from what I saw in the debugger, then maybe that's the cause.

I suppose there could have been ajax calls causing the problem.

erikwebb’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

AJAX calls certainly would cause this problem.

Fidelix’s picture

Status: Closed (cannot reproduce) » Active

This is happening everywhere, not just with Ajax calls.

erikwebb’s picture

XHProf checks for the first argument to be "admin" and disables accordingly. Were you able to pin down any particular paths that are causing the problem?

erikwebb’s picture

Status: Active » Postponed (maintainer needs more info)
Fidelix’s picture

Apparently admin_menu uses ajax calls all the time, so that might be the problem.

Letharion’s picture

I do use admin menu most of the time, so probably I was in this case as well.

erikwebb’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Try disabling Admin Menu and see if the probably disappears. In the meantime, I'll re-close this issue for now.

erikwebb’s picture

Status: Closed (cannot reproduce) » Closed (works as designed)