/arkcompiler/toolchain/tooling/test/ |
H A D | heapprofiler_impl_test.cpp | 192 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel);
in HWTEST_F_L0() local 193 auto dispatcherImpl = std::make_unique<HeapProfilerImpl::DispatcherImpl>(channel, std::move(tracing));
in HWTEST_F_L0() 214 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel);
in HWTEST_F_L0() local 215 auto dispatcherImpl = std::make_unique<HeapProfilerImpl::DispatcherImpl>(channel, std::move(tracing));
in HWTEST_F_L0() 236 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel);
in HWTEST_F_L0() local 237 auto dispatcherImpl = std::make_unique<HeapProfilerImpl::DispatcherImpl>(channel, std::move(tracing));
in HWTEST_F_L0() 254 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel);
in HWTEST_F_L0() local 255 auto dispatcherImpl = std::make_unique<HeapProfilerImpl::DispatcherImpl>(channel, std::move(tracing));
in HWTEST_F_L0() 272 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel);
in HWTEST_F_L0() local 273 auto dispatcherImpl = std::make_unique<HeapProfilerImpl::DispatcherImpl>(channel, std::move(tracing));
in HWTEST_F_L0() 290 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 312 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 336 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 354 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 377 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 395 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 455 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 474 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 493 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, nullptr); HWTEST_F_L0() local 513 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, nullptr); HWTEST_F_L0() local 536 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, nullptr); HWTEST_F_L0() local 557 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, nullptr); HWTEST_F_L0() local 568 auto tracing = std::make_unique<HeapProfilerImpl>(ecmaVm, nullptr); HWTEST_F_L0() local [all...] |
H A D | tracing_impl_test.cpp | 55 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); in HWTEST_F_L0() local 58 DispatchResponse response = tracing->Start(std::move(params)); in HWTEST_F_L0() 61 auto profileInfo = tracing->End(); in HWTEST_F_L0() 68 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); in HWTEST_F_L0() local 70 DispatchResponse response = tracing->GetCategories(categories); in HWTEST_F_L0() 77 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); in HWTEST_F_L0() local 79 DispatchResponse response = tracing->RecordClockSyncMarker(syncId); in HWTEST_F_L0() 86 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); in HWTEST_F_L0() local 90 DispatchResponse response = tracing->RequestMemoryDump(std::move(params), dumpGuid, success); in HWTEST_F_L0() 100 auto tracing in HWTEST_F_L0() local 122 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); HWTEST_F_L0() local 140 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); HWTEST_F_L0() local 158 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); HWTEST_F_L0() local 176 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); HWTEST_F_L0() local 194 auto tracing = std::make_unique<TracingImpl>(ecmaVm, channel); HWTEST_F_L0() local [all...] |
H A D | profiler_impl_test.cpp | 187 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() local 188 auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0() 209 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() local 210 auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0() 227 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() local 228 auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0() 245 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() local 246 auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0() 268 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() local 269 auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0() 286 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 308 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 326 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 344 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 362 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 380 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 398 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 416 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 434 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local 452 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); HWTEST_F_L0() local [all...] |
/arkcompiler/toolchain/tooling/agent/ |
H A D | tracing_impl.cpp | 180 return DispatchResponse::Fail("Start tracing failed"); in Start() 212 TracingImpl *tracing = static_cast<TracingImpl *>(handle->data); in TracingBufferUsageReport() local 213 if (tracing == nullptr) { in TracingBufferUsageReport() 214 LOG_DEBUGGER(ERROR) << "tracing == nullptr"; in TracingBufferUsageReport() 221 panda::DFXJSNApi::GetTracingBufferUseage(tracing->vm_, percentFull, eventCount, value); in TracingBufferUsageReport() 222 tracing->frontend_.BufferUsage(percentFull, eventCount, value); in TracingBufferUsageReport()
|
H A D | tracing_impl.h | 28 #include "ecmascript/dfx/tracing/tracing.h" 51 DispatcherImpl(ProtocolChannel *channel, std::unique_ptr<TracingImpl> tracing) in DispatcherImpl() argument 52 : DispatcherBase(channel), tracing_(std::move(tracing)) {} in DispatcherImpl()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | dfx_jsnapi.cpp | 25 #include "ecmascript/dfx/tracing/tracing.h" 955 Tracing *tracing = vm->GetTracing(); in StartTracing() local 956 if (tracing == nullptr) { in StartTracing() 957 tracing = new Tracing(vm); in StartTracing() 958 const_cast<EcmaVM *>(vm)->SetTracing(tracing); in StartTracing() 960 tracing->StartTracing(categories); in StartTracing() 963 LOG_ECMA(ERROR) << "Not support arkcompiler tracing"; in StartTracing() 974 Tracing *tracing = vm->GetTracing(); in StopTracing() local 975 if (tracing in StopTracing() 1000 ecmascript::Tracing *tracing = vm->GetTracing(); GetTracingBufferUseage() local [all...] |
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
H A D | samples_record.cpp | 23 #include "ecmascript/dfx/tracing/tracing.h" 630 Tracing *tracing = vm->GetTracing(); in AddStartTraceEvent() local 631 if (tracing == nullptr || !tracing->IsTracing()) { in AddStartTraceEvent() 635 tracing->TraceEventRecordCpuProfilerStart(profileInfo_.get()); in AddStartTraceEvent() 652 Tracing *tracing = vm->GetTracing(); in AddTraceEvent() local 653 if (tracing == nullptr || !tracing->IsTracing()) { in AddTraceEvent() 657 tracing in AddTraceEvent() [all...] |
/arkcompiler/runtime_core/scripts/ |
H A D | trace_enable.sh | 17 TRACKING_PATH=/sys/kernel/debug/tracing 93 echo "Warning: tracing time is not specified, set to 60 seconds"
|
/arkcompiler/runtime_core/static_core/scripts/ |
H A D | trace_enable.sh | 17 TRACKING_PATH=/sys/kernel/debug/tracing 93 echo "Warning: tracing time is not specified, set to 60 seconds"
|
/arkcompiler/toolchain/tooling/ |
H A D | dispatcher.cpp | 147 auto tracing = std::make_unique<TracingImpl>(vm, channel); in Dispatcher() local 149 std::make_unique<TracingImpl::DispatcherImpl>(channel, std::move(tracing)); in Dispatcher()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | ecma_vm.h | 555 void SetTracing(Tracing *tracing) in SetTracing() argument 557 tracing_ = tracing; in SetTracing()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | heap.cpp | 44 #include "ecmascript/dfx/tracing/tracing.h" 1284 auto tracing = GetEcmaVM()->GetTracing(); in CollectGarbage() local 1285 if (tracing != nullptr) { in CollectGarbage() 1286 tracing->TraceEventRecordMemory(); in CollectGarbage()
|