Closed
Bug 1308220
Opened 8 years ago
Closed 8 years ago
TraceLogger: report calls
Categories
(Core :: JavaScript Engine: JIT, defect, P5)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: h4writer, Assigned: h4writer, NeedInfo)
References
Details
Attachments
(1 file)
3.63 KB,
patch
|
bbouvier
:
review+
|
Details | Diff | Splinter Review |
We have VM calls and also VMSpecific, but nothing similar for Calls. This bug is specific for calls to C++ code, since if we go to C++ code out of IonMonkey we want to know that!
Assignee | ||
Comment 1•8 years ago
|
||
Assignee: nobody → hv1989
Attachment #8798434 -
Flags: review?(bbouvier)
Assignee | ||
Comment 2•8 years ago
|
||
Todo: Add TraceLogger_CallSpecific
Flags: needinfo?(hv1989)
Priority: -- → P5
Comment 3•8 years ago
|
||
Comment on attachment 8798434 [details] [diff] [review] Add TraceLogger_Call Review of attachment 8798434 [details] [diff] [review]: ----------------------------------------------------------------- Moar tracelogger! ::: js/src/jit/CodeGenerator.cpp @@ +3753,5 @@ > // Move the StackPointer back to its original location, unwinding the native exit frame. > masm.adjustStack(NativeExitFrameLayout::Size() - unusedStack); > MOZ_ASSERT(masm.framePushed() == initialStack); > + > + emitTracelogStopEvent(TraceLogger_Call); Either this needs to be moved just before the branchIfFalseBool, or you need to duplicate it on the failure label path, right? ::: js/src/vm/TraceLoggingTypes.h @@ +37,5 @@ > _(Scripts) \ > _(VM) \ > _(CompressSource) \ > _(WasmCompilation) \ > + _(Call) \ Should this be enabled by default?
Attachment #8798434 -
Flags: review?(bbouvier) → review+
Pushed by hv1989@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c4bd4302355b TraceLogger: generally report non-jit calls in ionmonkey, r=bbouvier
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c4bd4302355b
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•