Closed
Bug 518176
Opened 15 years ago
Closed 13 years ago
TM: Support TraceVis in browser builds for devs
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: dmandelin, Unassigned)
References
Details
Attachments
(2 files)
995 bytes,
patch
|
Details | Diff | Splinter Review | |
1.56 KB,
patch
|
Details | Diff | Splinter Review |
In the JS configure script, --enable-tracevis enables TraceVis, simply by defining MOZ_TRACEVIS. To support this in the browser, we need to add such a flag to the top-level script that: - passes --enable-tracevis to the JS configure script - defines MOZ_TRACEVIS for the browser - turns TraceVis for browser contexts created in nsJSEnvironment.cpp using JS_StartTraceVis.
Reporter | ||
Updated•15 years ago
|
Summary: TM: Support --enable-tracevis in browser builds for devs → TM: Support TraceVis in browser builds for devs
Reporter | ||
Comment 1•15 years ago
|
||
It turns out most of the immediate requirements were already done. All I had to do was add calls to turn it on and off.
Comment 2•14 years ago
|
||
Could we replace the above patch by something like that? This way if we be easier to get some "per function" tracevis analysis without removing the capability to enable tracevis at startup and to stop it on browser shutdown. For Fennec, we're planning to JIT the chrome UI as much as possible and such a capability to do it per function would be helpful.
Reporter | ||
Comment 3•14 years ago
|
||
(In reply to comment #2) > Created an attachment (id=425914) [details] > wip > > Could we replace the above patch by something like that? > > This way if we be easier to get some "per function" tracevis analysis without > removing the capability to enable tracevis at startup and to stop it on browser > shutdown. > > For Fennec, we're planning to JIT the chrome UI as much as possible and such a > capability to do it per function would be helpful. Sounds good to me. If you've got a practical need for browser TraceVis and a solution that meets that need, I'm all for it.
Comment 4•14 years ago
|
||
> Sounds good to me. If you've got a practical need for browser TraceVis and a
> solution that meets that need, I'm all for it.
Nice.
There is also some minor changes to do into binlog.py and vis.py which I'm working on.
Comment 5•13 years ago
|
||
WONTFIX per bug 593527 comment 5.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•