Make jitstats output not miss stats

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: bz, Assigned: bz)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(status1.9.2 beta4-fixed)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 attachment)

I discovered today that the timeoutIntoInterpreter stat isn't listed for some reason.  Let's not have that happen again.
Created attachment 405389 [details] [diff] [review]
Like so
Attachment #405389 - Flags: review?
Attachment #405389 - Flags: review? → review?(dvander)

Updated

8 years ago
Attachment #405389 - Flags: review?(dvander) → review+

Comment 2

8 years ago
Comment on attachment 405389 [details] [diff] [review]
Like so

Stolen, at bz's request.

Cool patch, helps me be lazy.

>+        debug_only_printf(LC_TMStats, "%s", "recorder");
>+        debug_only_printf(LC_TMStats, "%s", "\n");
>+        debug_only_printf(LC_TMStats, "%s", "monitor");
>+        debug_only_printf(LC_TMStats, "%s", "\n");

I suspect you used the eta-expanded form because debug_only_printf(LC_TMStats, "recorder") was an error.  For that we have debug_only_print0.  Yay macros!
> debug_only_printf(LC_TMStats, "recorder") was an error.

Yep.  ;)

> For that we have debug_only_print0.

Aha!  Perfect.  Will change to that.
Pushed http://hg.mozilla.org/tracemonkey/rev/9ca9a164711c with the debug_only_print0
Whiteboard: fixed-in-tracemonkey

Comment 5

8 years ago
http://hg.mozilla.org/mozilla-central/rev/9ca9a164711c
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED

Comment 6

8 years ago
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/ce866c82a025
status1.9.2: --- → final-fixed
You need to log in before you can comment on or make changes to this bug.