/external/perfetto/ui/src/controller/ |
D | record_controller_jsdomtest.ts | 120 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 …]
|
D | record_controller.ts | 423 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});
|
D | adb_record_controller_jsdomtest.ts | 37 enableTracingRequest.traceConfig = new perfetto.protos.TraceConfig();
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/config/ |
D | TraceConfigImplTest.java | 30 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/ |
D | TraceConfigzZPageHandler.java | 39 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/ |
D | TraceConfigTest.java | 29 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/ |
D | chrome_tracing_controller.ts | 145 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/ |
D | MultiSpansTracing.java | 61 TraceConfig traceConfig = Tracing.getTraceConfig(); in main() local 62 traceConfig.updateActiveTraceParams( in main() 63 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
|
D | MultiSpansScopedTracing.java | 72 TraceConfig traceConfig = Tracing.getTraceConfig(); in main() local 73 traceConfig.updateActiveTraceParams( in main() 74 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
|
D | MultiSpansContextTracing.java | 74 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/ |
D | TraceComponentImplBase.java | 44 private final TraceConfig traceConfig = new TraceConfigImpl(); field in TraceComponentImplBase 68 tracer = new TracerImpl(randomHandler, startEndHandler, clock, traceConfig); in TraceComponentImplBase() 88 return traceConfig; in getTraceConfig()
|
D | SpanBuilderImpl.java | 69 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()
|
D | TracerImpl.java | 36 TraceConfig traceConfig) { in TracerImpl() argument 38 new SpanBuilderImpl.Options(randomHandler, startEndHandler, clock, traceConfig); in TracerImpl()
|
/external/perfetto/ui/src/base/ |
D | trace_config_utils.ts | 25 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/ |
D | TracerImplTest.java | 40 @Mock private TraceConfig traceConfig; field in TracerImplTest 47 new TracerImpl(new SecureRandomHandler(), startEndHandler, TestClock.create(), traceConfig); in setUp()
|
D | SpanBuilderImplTest.java | 55 @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/ |
D | TraceProtoUtilsTest.java | 301 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/ |
D | gen_proto_reference.js | 155 const traceConfig = cfg.lookup(protoName); 156 const generatedMd = genType(traceConfig);
|
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtils.java | 375 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()
|