Lines Matching refs:tracing
25 #include "ecmascript/dfx/tracing/tracing.h"
955 Tracing *tracing = vm->GetTracing();
956 if (tracing == nullptr) {
957 tracing = new Tracing(vm);
958 const_cast<EcmaVM *>(vm)->SetTracing(tracing);
960 tracing->StartTracing(categories);
963 LOG_ECMA(ERROR) << "Not support arkcompiler tracing";
974 Tracing *tracing = vm->GetTracing();
975 if (tracing == nullptr) {
976 LOG_ECMA(ERROR) << "StopTracing tracing is nullptr";
979 auto traceEvents = tracing->StopTracing();
983 delete tracing;
984 tracing = nullptr;
988 LOG_ECMA(ERROR) << "Not support arkcompiler tracing";
1000 ecmascript::Tracing *tracing = vm->GetTracing();
1001 if (tracing == nullptr) {
1002 LOG_ECMA(ERROR) << "GetTracingBufferUseage tracing is nullptr";
1004 tracing->GetBufferUseage(percentFull, eventCount, value);
1007 LOG_ECMA(ERROR) << "Not support arkcompiler tracing";