/external/perfetto/src/tracing/core/ |
D | tracing_service_impl_unittest.cc | 69 &protos::TracePacket::trace_config, in HasTriggerModeInternal() 253 TraceConfig trace_config; in TEST_F() local 254 trace_config.add_buffers()->set_size_kb(128); in TEST_F() 255 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in TEST_F() 257 consumer->EnableTracing(trace_config); in TEST_F() 285 TraceConfig trace_config; in TEST_F() local 286 trace_config.add_buffers()->set_size_kb(128); in TEST_F() 287 trace_config.add_data_sources()->mutable_config()->set_name("ds_1"); in TEST_F() 288 auto* trigger_config = trace_config.mutable_trigger_config(); in TEST_F() 299 consumer->EnableTracing(trace_config); in TEST_F() [all …]
|
D | chrome_config.cc | 50 static_assert(sizeof(trace_config_) == sizeof(proto.trace_config()), in FromProto() 52 trace_config_ = static_cast<decltype(trace_config_)>(proto.trace_config()); in FromProto() 66 static_assert(sizeof(trace_config_) == sizeof(proto->trace_config()), in ToProto() 69 static_cast<decltype(proto->trace_config())>(trace_config_)); in ToProto()
|
/external/perfetto/test/ |
D | end_to_end_integrationtest.cc | 249 TraceConfig trace_config; in TEST_F() local 250 trace_config.add_buffers()->set_size_kb(1024); in TEST_F() 251 trace_config.set_duration_ms(3000); in TEST_F() 253 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in TEST_F() 261 helper.StartTracing(trace_config); in TEST_F() 293 TraceConfig trace_config; in TEST_F() local 294 trace_config.add_buffers()->set_size_kb(16); in TEST_F() 295 trace_config.set_duration_ms(kTestTimeoutMs); in TEST_F() 297 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in TEST_F() 303 helper.StartTracing(trace_config); in TEST_F() [all …]
|
D | end_to_end_benchmark.cc | 49 TraceConfig trace_config; in BenchmarkProducer() local 50 trace_config.add_buffers()->set_size_kb(512); in BenchmarkProducer() 52 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in BenchmarkProducer() 70 helper.StartTracing(trace_config); in BenchmarkProducer() 123 TraceConfig trace_config; in BenchmarkConsumer() local 127 trace_config.add_buffers()->set_size_kb(kBufferSizeBytes / 1024); in BenchmarkConsumer() 139 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in BenchmarkConsumer() 147 helper.StartTracing(trace_config); in BenchmarkConsumer()
|
D | end_to_end_shared_memory_fuzzer.cc | 152 TraceConfig trace_config; in FuzzSharedMemory() local 153 trace_config.add_buffers()->set_size_kb(8); in FuzzSharedMemory() 155 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in FuzzSharedMemory() 159 helper.StartTracing(trace_config); in FuzzSharedMemory()
|
/external/perfetto/src/profiling/memory/ |
D | heapprofd_end_to_end_test.cc | 201 std::unique_ptr<TestHelper> Trace(const TraceConfig& trace_config) { in Trace() argument 204 helper->StartTracing(trace_config); in Trace() 315 TraceConfig trace_config; in Smoke() local 316 trace_config.add_buffers()->set_size_kb(10 * 1024); in Smoke() 317 trace_config.set_duration_ms(2000); in Smoke() 318 trace_config.set_flush_timeout_ms(10000); in Smoke() 320 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in Smoke() 332 auto helper = Trace(trace_config); in Smoke() 349 TraceConfig trace_config; in TwoProcesses() local 350 trace_config.add_buffers()->set_size_kb(10 * 1024); in TwoProcesses() [all …]
|
/external/autotest/client/tests/tracing_microbenchmark/ |
D | tracers.py | 24 self.trace_config('tracing_enabled', '0') 25 self.trace_config('current_tracer', 'nop') 26 self.trace_config('events/enable', '0') 27 self.trace_config('trace', '') 29 self.trace_config('buffer_size_kb', str(buffer_size_kb)) 31 self.trace_config('events/syscalls/sys_enter_getuid/enable', '1') 35 self.trace_config('buffer_size_kb', '1408') 37 self.trace_config('events/enable', '0') 40 self.trace_config('tracing_enabled', '1') 43 self.trace_config('tracing_enabled', '0') [all …]
|
D | base_tracer.py | 12 def trace_config(self, path, value): member in Tracer
|
/external/perfetto/test/cts/ |
D | heapprofd_test_cts.cc | 129 TraceConfig trace_config; in ProfileRuntime() local 130 trace_config.add_buffers()->set_size_kb(10 * 1024); in ProfileRuntime() 131 trace_config.set_duration_ms(2000); in ProfileRuntime() 133 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in ProfileRuntime() 143 helper.StartTracing(trace_config); in ProfileRuntime() 164 TraceConfig trace_config; in ProfileStartup() local 165 trace_config.add_buffers()->set_size_kb(10 * 1024); in ProfileStartup() 166 trace_config.set_duration_ms(4000); in ProfileStartup() 168 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in ProfileStartup() 178 helper.StartTracing(trace_config); in ProfileStartup()
|
D | end_to_end_integrationtest_cts.cc | 52 TraceConfig trace_config; in TestMockProducer() local 53 trace_config.add_buffers()->set_size_kb(1024); in TestMockProducer() 54 trace_config.set_duration_ms(200); in TestMockProducer() 56 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in TestMockProducer() 68 helper.StartTracing(trace_config); in TestMockProducer()
|
/external/perfetto/src/tracing/test/ |
D | tracing_integration_test.cc | 224 TraceConfig trace_config; in TEST_F() local 225 trace_config.add_buffers()->set_size_kb(4096 * 10); in TEST_F() 226 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in TEST_F() 229 consumer_endpoint_->EnableTracing(trace_config); in TEST_F() 301 Invoke([&num_pack_rx, all_packets_rx, &trace_config, in TEST_F() 323 trace_config.ToProto(&config_proto); in TEST_F() 329 static_cast<size_t>(packet.trace_config().ByteSize())); in TEST_F() 330 packet.trace_config().SerializeWithCachedSizesToArray( in TEST_F() 366 TraceConfig trace_config; in TEST_F() local 367 trace_config.add_buffers()->set_size_kb(4096 * 10); in TEST_F() [all …]
|
D | mock_consumer.cc | 51 void MockConsumer::EnableTracing(const TraceConfig& trace_config, in EnableTracing() argument 53 service_endpoint_->EnableTracing(trace_config, std::move(write_into_file)); in EnableTracing() 60 void MockConsumer::ChangeTraceConfig(const TraceConfig& trace_config) { in ChangeTraceConfig() argument 61 service_endpoint_->ChangeTraceConfig(trace_config); in ChangeTraceConfig()
|
/external/perfetto/src/tracing/ipc/service/ |
D | consumer_ipc_service.cc | 70 TraceConfig trace_config; in EnableTracing() local 71 trace_config.FromProto(req.trace_config()); in EnableTracing() 73 if (trace_config.write_into_file()) in EnableTracing() 75 remote_consumer->service_endpoint->EnableTracing(trace_config, std::move(fd)); in EnableTracing() 92 TraceConfig trace_config; in ChangeTraceConfig() local 93 trace_config.FromProto(req.trace_config()); in ChangeTraceConfig() 94 remote_consumer->service_endpoint->ChangeTraceConfig(trace_config); in ChangeTraceConfig() 290 const TraceConfig& trace_config) { in OnAttach() argument 296 trace_config.ToProto(response->mutable_trace_config()); in OnAttach()
|
/external/perfetto/src/tracing/api_impl/ |
D | consumer_api_test.cc | 35 perfetto::protos::TraceConfig trace_config; in GetConfig() local 36 trace_config.set_duration_ms(duration_ms); in GetConfig() 37 trace_config.add_buffers()->set_size_kb(4096); in GetConfig() 38 trace_config.set_deferred_start(true); in GetConfig() 39 auto* ds_config = trace_config.add_data_sources()->mutable_config(); in GetConfig() 47 return trace_config.SerializeAsString(); in GetConfig()
|
/external/v8/src/libplatform/tracing/ |
D | trace-config.cc | 18 TraceConfig* trace_config = new TraceConfig(); in CreateDefaultTraceConfig() local 19 trace_config->included_categories_.push_back("v8"); in CreateDefaultTraceConfig() 20 return trace_config; in CreateDefaultTraceConfig()
|
D | tracing-controller.cc | 138 void TracingController::StartTracing(TraceConfig* trace_config) { in StartTracing() argument 139 trace_config_.reset(trace_config); in StartTracing()
|
/external/perfetto/src/tracing/ipc/consumer/ |
D | consumer_ipc_client_impl.cc | 68 void ConsumerIPCClientImpl::EnableTracing(const TraceConfig& trace_config, in EnableTracing() argument 76 trace_config.ToProto(req.mutable_trace_config()); in EnableTracing() 249 TraceConfig trace_config; in Attach() local 251 weak_this->consumer_->OnAttach(/*success=*/false, trace_config); in Attach() 254 trace_config.FromProto(response->trace_config()); in Attach() 269 weak_this->consumer_->OnAttach(/*success=*/true, trace_config); in Attach()
|
/external/perfetto/docs/ |
D | trace-config.md | 10 The [`TraceConfig`](/protos/perfetto/config/trace_config.proto) is an extensible 24 See [`trace_config.proto`](/protos/perfetto/config/trace_config.proto) for more 36 # This is a text-encoded protobuf for /protos/perfetto/config/trace_config.proto
|
/external/perfetto/protos/perfetto/ipc/ |
D | consumer_port.proto | 22 import "perfetto/config/trace_config.proto"; 107 optional protos.TraceConfig trace_config = 1; field 111 // When this flag is set the |trace_config| is ignored and no method is called 127 optional protos.TraceConfig trace_config = 1; field 194 optional protos.TraceConfig trace_config = 1; field
|
/external/perfetto/protos/perfetto/config/ |
D | BUILD.gn | 46 "trace_config.proto", 72 "trace_config.proto",
|
/external/perfetto/protos/perfetto/trace/chrome/ |
D | chrome_trace_packet.proto | 30 import "perfetto/config/trace_config.proto"; 54 TraceConfig trace_config = 33; field
|
/external/perfetto/protos/perfetto/trace/ |
D | trusted_packet.proto | 30 import "perfetto/config/trace_config.proto"; 57 TraceConfig trace_config = 33; field
|
/external/perfetto/include/perfetto/tracing/core/ |
D | chrome_config.h | 62 const std::string& trace_config() const { return trace_config_; } in trace_config() function
|
D | BUILD.gn | 33 "trace_config.h",
|
/external/perfetto/protos/perfetto/config/chrome/ |
D | chrome_config.proto | 26 optional string trace_config = 1; field
|