Sfink/JS Profiling-Related APIs: Difference between revisions

m
no edit summary
(Created page with 'I've crawled around js/src/ and attempted to summarize the various APIs used for profiling-related tasks. Some of these are straight profilers, some are general debugging hooks. …')
 
mNo edit summary
Line 19: Line 19:
** jsdtracef: enter/exit/execute-enter/execute-exit/objectCreate/finalize probes
** jsdtracef: enter/exit/execute-enter/execute-exit/objectCreate/finalize probes
** probes in jsgc.cpp, jsinterp.cpp, jsobjinlines.h (obj create), NOT jstracer
** probes in jsgc.cpp, jsinterp.cpp, jsobjinlines.h (obj create), NOT jstracer
* jscall ({{bug|507012}}
* jscall ({{bug|507012}})
** #ifdef MOZ_TRACE_JSCALLS
** #ifdef MOZ_TRACE_JSCALLS
** jsapi.h, jscntxt.h: get/set callback API
** jsapi.h, jscntxt.h: get/set callback API
** piggybacks on dtrace probes but adds in jstracer probes
** piggybacks on dtrace probes but adds in jstracer probes
** start/stop done in nsJSEnvironment (bug 580055), may add a js/ variant
** start/stop done in nsJSEnvironment ({{bug|580055}}), may add a js/ variant
* debughooks (jsdv1)
* debughooks (jsdv1)
** unconditionally included
** unconditionally included
Confirmed users
328

edits