Home
last modified time | relevance | path

Searched refs:TraceConfig (Results 1 – 25 of 119) sorted by relevance

12345

/external/libchrome/base/trace_event/
Dtrace_config.cc60 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 …]
Dtrace_config_unittest.cc66 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 …]
Dtrace_config.h46 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);
Dtrace_event_unittest.cc96 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/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb_unittest.cc48 TraceConfig ToProto(const std::string& input) { in ToProto()
52 TraceConfig config; in ToProto()
62 TraceConfig config = ToProto(R"( in TEST()
69 TraceConfig config = ToProto(R"( in TEST()
78 TraceConfig config = ToProto(R"( in TEST()
123 TraceConfig config = ToProto(R"( in TEST()
132 TraceConfig config = ToProto(R"( in TEST()
142 TraceConfig config = ToProto(R"( in TEST()
158 TraceConfig config = ToProto(R"( in TEST()
172 TraceConfig config = ToProto(R"( in TEST()
[all …]
Dperfetto_cmd.cc125 TraceConfig* config) { in ParseTraceConfigPbtxt()
274 TraceConfig::StatsdMetadata statsd_metadata; in Main()
293 TraceConfig test_config; in Main()
486 trace_config_.reset(new TraceConfig()); in Main()
567 case TraceConfig::STATSD_LOGGING_ENABLED: in Main()
570 case TraceConfig::STATSD_LOGGING_DISABLED: in Main()
573 case TraceConfig::STATSD_LOGGING_UNSPECIFIED: in Main()
578 ? TraceConfig::STATSD_LOGGING_ENABLED in Main()
579 : TraceConfig::STATSD_LOGGING_DISABLED); in Main()
616 trace_config_.reset(new TraceConfig()); in Main()
[all …]
/external/perfetto/ui/src/common/
Dprotos_unittest.ts15 import {TraceConfig} from './protos';
18 const input = TraceConfig.create({
21 const output = TraceConfig.decode(TraceConfig.encode(input).finish());
Dprotos.ts25 import BufferConfig = protos.perfetto.protos.TraceConfig.BufferConfig;
37 import IBufferConfig = protos.perfetto.protos.TraceConfig.IBufferConfig;
45 import TraceConfig = protos.perfetto.protos.TraceConfig;
146 TraceConfig,
/external/perfetto/ui/src/controller/
Drecord_controller_jsdomtest.ts18 import {TraceConfig} from '../common/protos';
28 TraceConfig.decode(genConfigProto(config, {os: 'Q', name: 'Android Q'}));
36 TraceConfig.decode(genConfigProto(config, {os: 'Q', name: 'Android Q'}));
70 const text = toPbtxt(TraceConfig.encode(config).finish());
114 TraceConfig.decode(genConfigProto(config, {os: 'C', name: 'Chrome'}));
139 TraceConfig.decode(genConfigProto(config, {os: 'C', name: 'Chrome'}));
166 TraceConfig.decode(genConfigProto(config, {os: 'C', name: 'Chrome'}));
194 TraceConfig.decode(genConfigProto(config, {os: 'C', name: 'Chrome'}));
225 const text = toPbtxt(TraceConfig.encode(config).finish());
Drecord_controller.ts37 TraceConfig,
71 return TraceConfig.encode(genConfig(uiCfg, target)).finish();
75 uiCfg: RecordConfig, target: RecordingTarget): TraceConfig {
76 const protoCfg = new TraceConfig();
107 const incStateConfig = new TraceConfig.IncrementalStateConfig();
147 const ds = new TraceConfig.DataSource();
167 const ds = new TraceConfig.DataSource();
302 const ds = new TraceConfig.DataSource();
319 const ds = new TraceConfig.DataSource();
334 const ds = new TraceConfig.DataSource();
[all …]
/external/perfetto/src/tracing/core/
Dtracing_service_impl_unittest.cc77 protos::gen::TraceConfig::TriggerConfig::TriggerMode mode) { in HasTriggerModeInternal()
83 &protos::gen::TraceConfig::trigger_config, in HasTriggerModeInternal()
84 Property(&protos::gen::TraceConfig::TriggerConfig::trigger_mode, in HasTriggerModeInternal()
217 TraceConfig trace_config_a; in TEST_F()
222 TraceConfig trace_config_b; in TEST_F()
244 TraceConfig trace_config_a; in TEST_F()
260 TraceConfig trace_config_b; in TEST_F()
309 TraceConfig trace_config; in TEST_F()
343 TraceConfig trace_config; in TEST_F()
347 trigger_config->set_trigger_mode(TraceConfig::TriggerConfig::START_TRACING); in TEST_F()
[all …]
Dtracing_service_impl.h196 void EnableTracing(const TraceConfig&, base::ScopedFile) override;
197 void ChangeTraceConfig(const TraceConfig& cfg) override;
273 const TraceConfig&,
275 void ChangeTraceConfig(ConsumerEndpointImpl*, const TraceConfig&);
386 const TraceConfig&,
481 TraceConfig config;
596 DataSourceInstance* SetupDataSource(const TraceConfig::DataSource&,
597 const TraceConfig::ProducerConfig&,
653 void MaybeLogUploadEvent(const TraceConfig&,
656 void MaybeLogTriggerEvent(const TraceConfig&,
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DTraceComponent.java21 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/
Dtrace_config_utils.ts15 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/api/src/main/java/io/opencensus/trace/config/
DTraceConfig.java25 public abstract class TraceConfig { class
50 public static TraceConfig getNoopTraceConfig() { in getNoopTraceConfig()
54 private static final class NoopTraceConfig extends TraceConfig {
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtilsTest.java36 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/test/
Dend_to_end_integrationtest.cc257 void SetTraceConfigForBugreportTest(TraceConfig* trace_config) { in SetTraceConfigForBugreportTest()
315 TraceConfig trace_config; in TEST_F()
362 TraceConfig trace_config; in TEST_F()
425 TraceConfig trace_config; in TEST_F()
483 protos::gen::TraceConfig::TriggerConfig::START_TRACING); in TEST_F()
579 TraceConfig trace_config; in TEST_F()
631 TraceConfig trace_config; in TEST_F()
680 TraceConfig trace_config; in TEST_F()
721 TraceConfig trace_config; in TEST_F()
772 TraceConfig trace_config; in TEST_F()
[all …]
/external/perfetto/ui/src/chrome_extension/
Dchrome_tracing_controller.ts25 import {TraceConfig} from '../common/protos';
128 convertToDevToolsConfig(config: any): Protocol.Tracing.TraceConfig {
137 return config as Protocol.Tracing.TraceConfig;
141 extractChromeConfig(perfettoConfig: TraceConfig):
142 Protocol.Tracing.TraceConfig {
265 const traceConfig = TraceConfig.decode(traceConfigProto);
/external/perfetto/include/perfetto/tracing/core/
Dforward_decls.h58 class TraceConfig; variable
71 using TraceConfig = ::perfetto::protos::gen::TraceConfig; variable
/external/perfetto/src/tracing/test/
Dmock_consumer.h51 void EnableTracing(const TraceConfig&, base::ScopedFile = base::ScopedFile());
53 void ChangeTraceConfig(const TraceConfig&);
76 MOCK_METHOD2(OnAttach, void(bool, const TraceConfig&));
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DTraceComponentImplBase.java29 import io.opencensus.trace.config.TraceConfig;
44 private final TraceConfig traceConfig = new TraceConfigImpl();
87 public TraceConfig getTraceConfig() { in getTraceConfig()
/external/perfetto/src/tracing/internal/
Dtracing_muxer_impl.h132 const std::shared_ptr<TraceConfig>&,
135 void ChangeTracingSessionConfig(TracingSessionGlobalID, const TraceConfig&);
250 void OnAttach(bool success, const TraceConfig&) override;
287 std::shared_ptr<TraceConfig> trace_config_;
333 void Setup(const TraceConfig&, int fd) override;
345 void ChangeTraceConfig(const TraceConfig&) override;
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java40 import io.opencensus.proto.trace.v1.TraceConfig;
320 static TraceConfig toTraceConfigProto(TraceParams traceParams) { in toTraceConfigProto()
321 TraceConfig.Builder traceConfigProtoBuilder = TraceConfig.newBuilder(); in toTraceConfigProto()
357 TraceConfig traceConfigProto, TraceParams currentTraceParams) { in fromTraceConfigProto()
375 static TraceConfig getCurrentTraceConfig(io.opencensus.trace.config.TraceConfig traceConfig) { in getCurrentTraceConfig()
383 UpdatedLibraryConfig config, io.opencensus.trace.config.TraceConfig traceConfig) { in getUpdatedTraceParams()
385 TraceConfig traceConfigProto = config.getConfig(); in getUpdatedTraceParams()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/config/
DTraceConfigImpl.java19 import io.opencensus.trace.config.TraceConfig;
26 public final class TraceConfigImpl extends TraceConfig {
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTraceConfigzZPageHandler.java22 import io.opencensus.trace.config.TraceConfig;
39 private final TraceConfig traceConfig;
84 static TraceConfigzZPageHandler create(TraceConfig traceConfig) { in create()
220 private TraceConfigzZPageHandler(TraceConfig traceConfig) { in TraceConfigzZPageHandler()

12345