Closed
Bug 770663
Opened 12 years ago
Closed 12 years ago
Add a JS shell function to turn on a static profiling stack
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: u443197, Assigned: u443197)
References
Details
Attachments
(1 file)
6.34 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
With the profiling from bug 761261, there should be validation that the instrumentation remains consistent. To do this, a function should be added to the shell to turn on a static profiling stack to be called from fuzzers.
This function would turn on profiling for the runtime, which in debug builds would assert that function entry/exit are tracked accordingly.
Attachment #639398 -
Flags: review?(luke)
Comment 2•12 years ago
|
||
Comment on attachment 639398 [details] [diff] [review]
patch
Cool!
Attachment #639398 -
Flags: review?(luke) → review+
Comment 3•12 years ago
|
||
Target Milestone: --- → mozilla16
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 5•12 years ago
|
||
This should probably be in js/src/builtin/TestingFunctions.cpp rather than js/src/shell/js.cpp so it can be tested in the browser as well.
You need to log in
before you can comment on or make changes to this bug.
Description
•