/external/libchrome/base/trace_event/ |
D | trace_config.cc | 60 explicit ConvertableTraceConfigToTraceFormat(const TraceConfig& trace_config) in ConvertableTraceConfigToTraceFormat() 70 const TraceConfig trace_config_; 84 TraceConfig::MemoryDumpConfig::HeapProfiler::HeapProfiler() in HeapProfiler() 87 void TraceConfig::MemoryDumpConfig::HeapProfiler::Clear() { in Clear() 91 void TraceConfig::ResetMemoryDumpConfig( in ResetMemoryDumpConfig() 92 const TraceConfig::MemoryDumpConfig& memory_dump_config) { in ResetMemoryDumpConfig() 97 TraceConfig::MemoryDumpConfig::MemoryDumpConfig() = default; 99 TraceConfig::MemoryDumpConfig::MemoryDumpConfig( 102 TraceConfig::MemoryDumpConfig::~MemoryDumpConfig() = default; 104 void TraceConfig::MemoryDumpConfig::Clear() { in Clear() [all …]
|
D | trace_config_unittest.cc | 66 void CheckDefaultTraceConfigBehavior(const TraceConfig& tc) { in CheckDefaultTraceConfigBehavior() 87 TraceConfig config("", "record-until-full"); in TEST() 93 config = TraceConfig("", "record-continuously"); in TEST() 99 config = TraceConfig("", "trace-to-console"); in TEST() 105 config = TraceConfig("", "record-as-much-as-possible"); in TEST() 112 config = TraceConfig("", "enable-systrace, record-continuously"); in TEST() 119 config = TraceConfig("", "enable-argument-filter,record-as-much-as-possible"); in TEST() 126 config = TraceConfig( in TEST() 136 config = TraceConfig( in TEST() 144 config = TraceConfig("", RECORD_UNTIL_FULL); in TEST() [all …]
|
D | trace_config.h | 46 class BASE_EXPORT TraceConfig { 151 TraceConfig(); 185 TraceConfig(StringPiece category_filter_string, 188 TraceConfig(StringPiece category_filter_string, TraceRecordMode record_mode); 216 explicit TraceConfig(StringPiece config_string); 220 explicit TraceConfig(const DictionaryValue& config); 222 TraceConfig(const TraceConfig& tc); 224 ~TraceConfig(); 226 TraceConfig& operator=(const TraceConfig& rhs); 252 void Merge(const TraceConfig& config);
|
D | trace_event_unittest.cc | 96 TraceLog::GetInstance()->SetEnabled(TraceConfig(filter, ""), in BeginSpecificTrace() 1172 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 1185 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 1208 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 1219 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 1229 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 1241 TraceConfig tc_inc_all("*", ""); in TEST_F() 1261 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 1297 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 1329 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() [all …]
|
/external/cronet/base/trace_event/ |
D | trace_config.cc | 75 explicit ConvertableTraceConfigToTraceFormat(const TraceConfig& trace_config) in ConvertableTraceConfigToTraceFormat() 85 const TraceConfig trace_config_; 99 TraceConfig::MemoryDumpConfig::HeapProfiler::HeapProfiler() in HeapProfiler() 102 void TraceConfig::MemoryDumpConfig::HeapProfiler::Clear() { in Clear() 106 void TraceConfig::ResetMemoryDumpConfig( in ResetMemoryDumpConfig() 107 const TraceConfig::MemoryDumpConfig& memory_dump_config) { in ResetMemoryDumpConfig() 112 TraceConfig::MemoryDumpConfig::MemoryDumpConfig() = default; 114 TraceConfig::MemoryDumpConfig::MemoryDumpConfig( 117 TraceConfig::MemoryDumpConfig::~MemoryDumpConfig() = default; 119 void TraceConfig::MemoryDumpConfig::Clear() { in Clear() [all …]
|
D | trace_config_unittest.cc | 69 void CheckDefaultTraceConfigBehavior(const TraceConfig& tc) { in CheckDefaultTraceConfigBehavior() 106 TraceConfig config("", "record-until-full"); in TEST() 113 config = TraceConfig("", "record-continuously"); in TEST() 120 config = TraceConfig("", "trace-to-console"); in TEST() 127 config = TraceConfig("", "record-as-much-as-possible"); in TEST() 135 config = TraceConfig("", "enable-systrace, record-continuously"); in TEST() 143 config = TraceConfig("", "enable-argument-filter,record-as-much-as-possible"); in TEST() 151 config = TraceConfig( in TEST() 162 config = TraceConfig( in TEST() 171 config = TraceConfig("", RECORD_UNTIL_FULL); in TEST() [all …]
|
D | trace_config.h | 45 class BASE_EXPORT TraceConfig { 153 TraceConfig(); 187 TraceConfig(StringPiece category_filter_string, 190 TraceConfig(StringPiece category_filter_string, TraceRecordMode record_mode); 218 explicit TraceConfig(StringPiece config_string); 222 explicit TraceConfig(const Value::Dict& config); 224 TraceConfig(const TraceConfig& tc); 226 ~TraceConfig(); 228 TraceConfig& operator=(const TraceConfig& rhs); 276 void Merge(const TraceConfig& config);
|
D | trace_event_unittest.cc | 114 TraceLog::GetInstance()->SetEnabled(TraceConfig(filter, ""), in BeginSpecificTrace() 829 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 842 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 865 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 878 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 888 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 900 TraceConfig tc_inc_all("*", ""); in TEST_F() 921 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 941 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() 946 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F() [all …]
|
D | trace_log.h | 90 TraceConfig GetCurrentTraceConfig() const; 98 void SetEnabled(const TraceConfig& trace_config, uint8_t modes_to_enable); 104 void SetEnabled(const TraceConfig& trace_config, 105 const perfetto::TraceConfig& perfetto_config); 427 void SetEnabledImpl(const TraceConfig& trace_config, 428 const perfetto::TraceConfig& perfetto_config); 469 const TraceConfig& config); 595 TraceConfig trace_config_; 622 perfetto::TraceConfig perfetto_config_; 635 absl::optional<TraceConfig> atrace_startup_config_;
|
/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb_unittest.cc | 50 TraceConfig ToProto(const std::string& input) { in ToProto() 54 TraceConfig config; in ToProto() 64 TraceConfig config = ToProto(R"( in TEST() 71 TraceConfig config = ToProto(R"( in TEST() 80 TraceConfig config = ToProto(R"( in TEST() 125 TraceConfig config = ToProto(R"( in TEST() 134 TraceConfig config = ToProto(R"( in TEST() 144 TraceConfig config = ToProto(R"( in TEST() 160 TraceConfig config = ToProto(R"( in TEST() 174 TraceConfig config = ToProto(R"( in TEST() [all …]
|
/external/perfetto/ui/src/common/recordingV2/ |
D | recording_config_utils.ts | 34 TraceConfig, 68 const configProto = TraceConfig.encode(traceConfig).finish(); 81 uiCfg: RecordConfig, targetInfo: TargetInfo): TraceConfig { 85 const protoCfg = new TraceConfig(); 117 const incStateConfig = new TraceConfig.IncrementalStateConfig(); 168 const ds = new TraceConfig.DataSource(); 181 const ds = new TraceConfig.DataSource(); 324 const ds = new TraceConfig.DataSource(); 341 const ds = new TraceConfig.DataSource(); 355 const ds = new TraceConfig.DataSource(); [all …]
|
/external/perfetto/ui/src/controller/ |
D | record_controller_jsdomtest.ts | 16 import {TraceConfig} from '../common/protos'; 25 TraceConfig.decode(genConfigProto(config, {os: 'Q', name: 'Android Q'})); 33 TraceConfig.decode(genConfigProto(config, {os: 'Q', name: 'Android Q'})); 46 TraceConfig.decode(genConfigProto(config, {os: 'S', name: 'Android S'})); 59 TraceConfig.decode(genConfigProto(config, {os: 'Q', name: 'Android Q'})); 73 TraceConfig.decode(genConfigProto(config, {os: 'Q', name: 'Android Q'})); 87 TraceConfig.decode(genConfigProto(config, {os: 'Q', name: 'Android Q'})); 121 const text = toPbtxt(TraceConfig.encode(config).finish()); 150 TraceConfig.decode(genConfigProto(config, {os: 'C', name: 'Chrome'})); 191 TraceConfig.decode(genConfigProto(config, {os: 'C', name: 'Chrome'})); [all …]
|
/external/perfetto/ui/src/common/ |
D | protos_unittest.ts | 15 import {TraceConfig} from './protos'; 18 const input = TraceConfig.create({ 21 const output = TraceConfig.decode(TraceConfig.encode(input).finish());
|
D | protos.ts | 24 import BufferConfig = protos.perfetto.protos.TraceConfig.BufferConfig; 40 import IBufferConfig = protos.perfetto.protos.TraceConfig.IBufferConfig; 48 import TraceConfig = protos.perfetto.protos.TraceConfig; 130 TraceConfig,
|
/external/perfetto/test/ |
D | cmdline_integrationtest.cc | 72 TraceConfig CreateTraceConfigForBugreportTest() { in CreateTraceConfigForBugreportTest() 73 TraceConfig trace_config; in CreateTraceConfigForBugreportTest() 147 void RunBugreportTest(protos::gen::TraceConfig trace_config, in RunBugreportTest() 355 protos::gen::TraceConfig trace_config; in TEST_F() 363 protos::gen::TraceConfig::TriggerConfig::START_TRACING); in TEST_F() 423 auto kStartTrig = protos::gen::TraceConfig::TriggerConfig::START_TRACING; in TEST_F() 447 protos::gen::TraceConfig trace_config; in TEST_F() 455 protos::gen::TraceConfig::TriggerConfig::STOP_TRACING); in TEST_F() 520 auto kStopTrig = protos::gen::TraceConfig::TriggerConfig::STOP_TRACING; in TEST_F() 551 protos::gen::TraceConfig trace_config; in TEST_F() [all …]
|
/external/perfetto/src/tracing/core/ |
D | tracing_service_impl_unittest.cc | 91 protos::gen::TraceConfig::TriggerConfig::TriggerMode mode) { in HasTriggerModeInternal() 97 &protos::gen::TraceConfig::trigger_config, in HasTriggerModeInternal() 98 Property(&protos::gen::TraceConfig::TriggerConfig::trigger_mode, in HasTriggerModeInternal() 281 TraceConfig trace_config_a; in TEST_F() 286 TraceConfig trace_config_b; in TEST_F() 308 TraceConfig trace_config_a; in TEST_F() 324 TraceConfig trace_config_b; in TEST_F() 373 TraceConfig trace_config; in TEST_F() 407 TraceConfig trace_config; in TEST_F() 411 trigger_config->set_trigger_mode(TraceConfig::TriggerConfig::START_TRACING); in TEST_F() [all …]
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | TraceComponent.java | 21 import io.opencensus.trace.config.TraceConfig; 77 public abstract TraceConfig getTraceConfig(); in getTraceConfig() 112 public TraceConfig getTraceConfig() { in getTraceConfig() 113 return TraceConfig.getNoopTraceConfig(); in getTraceConfig()
|
/external/perfetto/ui/src/base/ |
D | trace_config_utils.ts | 15 import {TraceConfig} from '../common/protos'; 26 return perfetto.protos.TraceConfig.encode(enableTracingObject.traceConfig) 36 return perfetto.protos.TraceConfig.decode(traceConfigProto).durationMs; 59 export function hasSystemDataSourceConfig(config: TraceConfig): boolean {
|
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtilsTest.java | 36 import io.opencensus.proto.trace.v1.TraceConfig; 65 @Mock private io.opencensus.trace.config.TraceConfig mockTraceConfig; 275 TraceConfig.newBuilder() in toTraceConfigProto_AlwaysSampler() 284 TraceConfig.newBuilder() in toTraceConfigProto_NeverSampler() 293 TraceConfig.newBuilder() in toTraceConfigProto_ProbabilitySampler() 301 TraceConfig traceConfig = in fromTraceConfigProto_AlwaysSampler() 302 TraceConfig.newBuilder() in fromTraceConfigProto_AlwaysSampler() 311 TraceConfig traceConfig = in fromTraceConfigProto_NeverSampler() 312 TraceConfig.newBuilder() in fromTraceConfigProto_NeverSampler() 321 TraceConfig traceConfig = in fromTraceConfigProto_ProbabilitySampler() [all …]
|
/external/perfetto/include/perfetto/tracing/core/ |
D | trace_config.h | 30 inline TraceConfig::TriggerConfig::TriggerMode GetTriggerMode( in GetTriggerMode() 31 const TraceConfig& cfg) { in GetTriggerMode() 34 mode = TraceConfig::TriggerConfig::CLONE_SNAPSHOT; in GetTriggerMode()
|
D | forward_decls.h | 58 class TraceConfig; variable 71 using TraceConfig = ::perfetto::protos::gen::TraceConfig; variable
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/config/ |
D | TraceConfig.java | 25 public abstract class TraceConfig { class 50 public static TraceConfig getNoopTraceConfig() { in getNoopTraceConfig() 54 private static final class NoopTraceConfig extends TraceConfig {
|
/external/perfetto/ui/src/chrome_extension/ |
D | chrome_tracing_controller.ts | 25 import {TraceConfig} from '../common/protos'; 130 convertToDevToolsConfig(config: any): Protocol.Tracing.TraceConfig { 139 return config as Protocol.Tracing.TraceConfig; 143 extractChromeConfig(perfettoConfig: TraceConfig): 144 Protocol.Tracing.TraceConfig { 268 const traceConfig = TraceConfig.decode(traceConfigProto);
|
/external/perfetto/src/tracing/internal/ |
D | tracing_muxer_impl.h | 148 const TraceConfig& config, 151 const TraceConfig& config, 167 const std::shared_ptr<TraceConfig>&, 170 void ChangeTracingSessionConfig(TracingSessionGlobalID, const TraceConfig&); 300 void OnAttach(bool success, const TraceConfig&) override; 337 std::shared_ptr<TraceConfig> trace_config_; 383 void Setup(const TraceConfig&, int fd) override; 395 void ChangeTraceConfig(const TraceConfig&) override;
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | TraceComponentImplBase.java | 29 import io.opencensus.trace.config.TraceConfig; 44 private final TraceConfig traceConfig = new TraceConfigImpl(); 87 public TraceConfig getTraceConfig() { in getTraceConfig()
|