Home
last modified time | relevance | path

Searched refs:traceConfig (Results 1 – 19 of 19) sorted by relevance

/external/perfetto/ui/src/controller/
Drecord_controller_jsdomtest.ts120 const traceConfig = assertExists(chromeConfig.traceConfig); constant
125 const traceConfigM = assertExists(chromeConfigM.traceConfig);
132 expect(traceConfig).toEqual(expectedTraceConfig);
145 const traceConfig = assertExists(chromeConfig.traceConfig); constant
150 const traceConfigM = assertExists(chromeConfigM.traceConfig);
157 expect(traceConfig).toEqual(expectedTraceConfig);
172 const traceConfig = assertExists(chromeConfig.traceConfig); constant
177 const traceConfigM = assertExists(chromeConfigM.traceConfig);
184 expect(traceConfig).toEqual(expectedTraceConfig);
200 const traceConfig = assertExists(chromeConfig.traceConfig); constant
[all …]
Drecord_controller.ts423 traceDs.config.chromeConfig.traceConfig = traceConfigJson;
431 metadataDs.config.chromeConfig.traceConfig = traceConfigJson;
633 const traceConfig = genConfig(this.config, this.app.state.recordingTarget); constant
641 traceConfig
651 this.startRecordTrace(traceConfig);
657 startRecordTrace(traceConfig: TraceConfig) {
660 this.consumerPort.enableTracing({traceConfig});
Dadb_record_controller_jsdomtest.ts37 enableTracingRequest.traceConfig = new perfetto.protos.TraceConfig();
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/config/
DTraceConfigImplTest.java30 private final TraceConfigImpl traceConfig = new TraceConfigImpl(); field in TraceConfigImplTest
34 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(TraceParams.DEFAULT); in defaultActiveTraceParams()
48 traceConfig.updateActiveTraceParams(traceParams); in updateTraceParams()
49 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(traceParams); in updateTraceParams()
50 traceConfig.updateActiveTraceParams(TraceParams.DEFAULT); in updateTraceParams()
51 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(TraceParams.DEFAULT); in updateTraceParams()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTraceConfigzZPageHandler.java39 private final TraceConfig traceConfig; field in TraceConfigzZPageHandler
84 static TraceConfigzZPageHandler create(TraceConfig traceConfig) { in create() argument
85 return new TraceConfigzZPageHandler(traceConfig); in create()
146 emitTraceParamsTable(traceConfig.getActiveTraceParams(), out); in emitHtml()
158 TraceParams.Builder traceParamsBuilder = traceConfig.getActiveTraceParams().toBuilder(); in maybeApplyChanges()
185 traceConfig.updateActiveTraceParams(traceParamsBuilder.build()); in maybeApplyChanges()
187 traceConfig.updateActiveTraceParams(TraceParams.DEFAULT); in maybeApplyChanges()
220 private TraceConfigzZPageHandler(TraceConfig traceConfig) { in TraceConfigzZPageHandler() argument
221 this.traceConfig = traceConfig; in TraceConfigzZPageHandler()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/config/
DTraceConfigTest.java29 TraceConfig traceConfig = TraceConfig.getNoopTraceConfig(); field in TraceConfigTest
33 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(TraceParams.DEFAULT); in activeTraceParams_NoOpImplementation()
48 traceConfig.updateActiveTraceParams(traceParams); in updateActiveTraceParams_NoOpImplementation()
49 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(TraceParams.DEFAULT); in updateActiveTraceParams_NoOpImplementation()
/external/perfetto/ui/src/chrome_extension/
Dchrome_tracing_controller.ts145 ds.config.chromeConfig && ds.config.chromeConfig.traceConfig) {
146 const chromeConfigJsonString = ds.config.chromeConfig.traceConfig;
265 const traceConfig = TraceConfig.decode(traceConfigProto); constant
266 if (hasSystemDataSourceConfig(traceConfig)) {
273 const chromeConfig = this.extractChromeConfig(traceConfig);
275 {traceConfig: chromeConfig, ...requestParams});
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/trace/
DMultiSpansTracing.java61 TraceConfig traceConfig = Tracing.getTraceConfig(); in main() local
62 traceConfig.updateActiveTraceParams( in main()
63 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
DMultiSpansScopedTracing.java72 TraceConfig traceConfig = Tracing.getTraceConfig(); in main() local
73 traceConfig.updateActiveTraceParams( in main()
74 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
DMultiSpansContextTracing.java74 TraceConfig traceConfig = Tracing.getTraceConfig(); in main() local
75 traceConfig.updateActiveTraceParams( in main()
76 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DTraceComponentImplBase.java44 private final TraceConfig traceConfig = new TraceConfigImpl(); field in TraceComponentImplBase
68 tracer = new TracerImpl(randomHandler, startEndHandler, clock, traceConfig); in TraceComponentImplBase()
88 return traceConfig; in getTraceConfig()
DSpanBuilderImpl.java69 TraceParams activeTraceParams = options.traceConfig.getActiveTraceParams(); in startSpanInternal()
216 private final TraceConfig traceConfig; field in SpanBuilderImpl.Options
222 TraceConfig traceConfig) { in Options() argument
226 this.traceConfig = checkNotNull(traceConfig, "traceConfig"); in Options()
DTracerImpl.java36 TraceConfig traceConfig) { in TracerImpl() argument
38 new SpanBuilderImpl.Options(randomHandler, startEndHandler, clock, traceConfig); in TracerImpl()
/external/perfetto/ui/src/base/
Dtrace_config_utils.ts25 if (!enableTracingObject.traceConfig) return undefined;
26 return perfetto.protos.TraceConfig.encode(enableTracingObject.traceConfig)
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DTracerImplTest.java40 @Mock private TraceConfig traceConfig; field in TracerImplTest
47 new TracerImpl(new SecureRandomHandler(), startEndHandler, TestClock.create(), traceConfig); in setUp()
DSpanBuilderImplTest.java55 @Mock private TraceConfig traceConfig; field in SpanBuilderImplTest
61 new SpanBuilderImpl.Options(randomHandler, startEndHandler, testClock, traceConfig); in setUp()
62 when(traceConfig.getActiveTraceParams()).thenReturn(alwaysSampleTraceParams); in setUp()
335 when(traceConfig.getActiveTraceParams()).thenReturn(TraceParams.DEFAULT); in startRemoteChildSpan_WithProbabilitySamplerDefaultSampler()
374 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(TraceParams.DEFAULT); in startRemoteChildSpan_WithProbabilitySamplerDefaultSampler()
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtilsTest.java301 TraceConfig traceConfig = in fromTraceConfigProto_AlwaysSampler() local
305 assertThat(TraceProtoUtils.fromTraceConfigProto(traceConfig, DEFAULT_PARAMS).getSampler()) in fromTraceConfigProto_AlwaysSampler()
311 TraceConfig traceConfig = in fromTraceConfigProto_NeverSampler() local
315 assertThat(TraceProtoUtils.fromTraceConfigProto(traceConfig, DEFAULT_PARAMS).getSampler()) in fromTraceConfigProto_NeverSampler()
321 TraceConfig traceConfig = in fromTraceConfigProto_ProbabilitySampler() local
326 assertThat(TraceProtoUtils.fromTraceConfigProto(traceConfig, DEFAULT_PARAMS).getSampler()) in fromTraceConfigProto_ProbabilitySampler()
/external/perfetto/infra/perfetto.dev/src/
Dgen_proto_reference.js155 const traceConfig = cfg.lookup(protoName);
156 const generatedMd = genType(traceConfig);
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java375 static TraceConfig getCurrentTraceConfig(io.opencensus.trace.config.TraceConfig traceConfig) { in getCurrentTraceConfig() argument
376 TraceParams traceParams = traceConfig.getActiveTraceParams(); in getCurrentTraceConfig()
383 UpdatedLibraryConfig config, io.opencensus.trace.config.TraceConfig traceConfig) { in getUpdatedTraceParams() argument
384 TraceParams currentParams = traceConfig.getActiveTraceParams(); in getUpdatedTraceParams()