mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1911021 - exclude self-hosted builtins from tracing r=arai
Including these just results in a lot of unnecessary noise in profiles. Differential Revision: https://phabricator.services.mozilla.com/D221915
This commit is contained in:
parent
16a2c3cd7c
commit
ecd95475ac
@ -183,7 +183,7 @@ bool ExecutionTracer::onEnterFrame(JSContext* cx, AbstractFramePtr frame) {
|
||||
|
||||
DebuggerFrameType type = GetFrameType(frame);
|
||||
if (type == DebuggerFrameType::Call) {
|
||||
if (frame.isFunctionFrame()) {
|
||||
if (frame.isFunctionFrame() && !frame.callee()->isSelfHostedBuiltin()) {
|
||||
inlineData_.beginWritingEntry();
|
||||
inlineData_.write(uint8_t(InlineEntryType::StackFunctionEnter));
|
||||
if (!writeFunctionFrame(cx, frame)) {
|
||||
@ -201,7 +201,7 @@ bool ExecutionTracer::onLeaveFrame(JSContext* cx, AbstractFramePtr frame) {
|
||||
|
||||
DebuggerFrameType type = GetFrameType(frame);
|
||||
if (type == DebuggerFrameType::Call) {
|
||||
if (frame.isFunctionFrame()) {
|
||||
if (frame.isFunctionFrame() && !frame.callee()->isSelfHostedBuiltin()) {
|
||||
inlineData_.beginWritingEntry();
|
||||
inlineData_.write(uint8_t(InlineEntryType::StackFunctionLeave));
|
||||
if (!writeFunctionFrame(cx, frame)) {
|
||||
|
Loading…
Reference in New Issue
Block a user