Closed Bug 1224809 Opened 10 years ago Closed 10 years ago

TraceLogger: Document what are enabled in 'TLLOG=Default' and 'TLLOG=IonCompiler'

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: wuwei, Assigned: wuwei)

References

Details

Attachments

(1 file)

According to bug 1221460 and bug 1224783, it might be good to list enabled channels/events when 'TLLOG=Default' and 'TLLOG=IonCompiler' are given. Currently one could not see these information unless digging into TraceLogger's source code. The basic idea is adding a comment in the TLLOG=help usage, like > usage: TLLOG=option,option,option,... where options can be: > > Collections: > Default Output all default, which enables > [LIST OF ENABLED EVENTS] > [LIST OF ENABLED EVENTS] > [LIST OF ENABLED EVENTS] > IonCompiler Output all information about compilation, which enables > [LIST OF ENABLED EVENTS] > [LIST OF ENABLED EVENTS] > [LIST OF ENABLED EVENTS] > > Specific log items: > All the events listed above > This items you should (have to) enable them explicitly: > InlinedScripts (Blocks IonMonkey's inlinling currently) > IonCompilationPaused (forgot to enable?) I would like to submit a patch if it is worth to improve it :)
Flags: needinfo?(hv1989)
Depends on: 1224456
Feel free to add that ;) (Except those 3 last lines. One should be able to deduce that knowing what is enabled in Default/IonCompiler). I'm not sure what the best representation would be. But if possible can you have one line long line, instead of a newline for every event that is included in a collection. I think it else might become too long...
Flags: needinfo?(hv1989)
Attached patch patchSplinter Review
Show what are included in the collections.
Attachment #8689363 - Flags: review?(hv1989)
Attachment #8689363 - Flags: review?(hv1989) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: