Closed Bug 403348 Opened 18 years ago Closed 2 years ago

DTrace js_calltime.d output omits interface methods

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: myk, Unassigned)

References

Details

The DTrace Toolkit 0.99 script js_calltime.d omits from its output those functions defined in nsContentPrefService that are implementations of methods defined in the nsIContentPrefService interface. For example, I independently verified that the function named ContentPrefService_removeObserver, which implements nsIContentPrefService::removeObserver, was invoked 20 times in a recent trace, but the output of js_calltime.d doesn't mention it at all. The output does mention two invocations of "removeObserver", but that's probably the call to nsIObserverService::removeObserver in ContentPrefService__destroy, which is being erroneously reported as a function invocation in nsContentPrefService.js because of bug 403345 (and is erroneously reported as having been invoked twice instead of once because of bug 403132). The DTrace output does mention non-interface methods like ContentPrefService__init and ContentPrefService__selectPref. It looks like the interface methods are the only ones missing.
This needs the the XPConnect probe I wrote, since there's a JS_Invoke call there.
Summary: DTrace js_calltime.d output omits nsContentPrefService interface methods → DTrace js_calltime.d output omits interface methods
Assignee: general → nobody
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.