/third_party/python/Lib/test/ |
D | test_bdb.py | 418 self.tracer = Tracer(test_case.expect_set, skip=skip, 426 return self.tracer 433 if self.tracer.set_list: 436 self.tracer.expect_set_no) 529 with TracerRun(test, skip=skip) as tracer: 530 tracer.runcall(tfunc_import) 594 with TracerRun(self) as tracer: 595 tracer.runcall(tfunc_main) 608 with TracerRun(self) as tracer: 609 tracer.runcall(tfunc_main) [all …]
|
D | test_trace.py | 123 self.tracer = Trace(count=1, trace=0, countfuncs=0, countcallers=0) 127 result = self.tracer.runfunc(traced_func_linear, 2, 5) 136 self.assertEqual(self.tracer.results().counts, expected) 139 self.tracer.runfunc(traced_func_loop, 2, 3) 148 self.assertEqual(self.tracer.results().counts, expected) 151 self.tracer.runfunc(traced_func_importing, 2, 5) 160 self.assertEqual(self.tracer.results().counts, expected) 163 self.tracer.runfunc(traced_func_calling_generator) 175 self.assertEqual(self.tracer.results().counts, expected) 178 self.tracer.runfunc(traced_caller_list_comprehension) [all …]
|
D | test_sys_settrace.py | 354 tracer = self.make_tracer() 355 sys.settrace(tracer.trace) 359 tracer.events, events) 365 tracer = self.make_tracer() 366 func(tracer.trace) 369 tracer.events, func.events) 421 tracer = self.make_tracer() 422 sys.settrace(tracer.traceWithGenexp) 426 tracer.events, generator_example.events) 553 def run(tracer): argument [all …]
|
/third_party/gstreamer/gstreamer/tests/check/elements/ |
D | leaks.c | 78 GstTracer *tracer = NULL; in get_tracer_by_name() local 83 tracer = l->data; in get_tracer_by_name() 86 return tracer; in get_tracer_by_name() 126 GstTracer *tracer = get_tracer_by_name ("plain"); in GST_START_TEST() local 127 fail_unless (tracer); in GST_START_TEST() 128 g_signal_emit_by_name (tracer, "log-live-objects"); in GST_START_TEST() 129 gst_object_unref (tracer); in GST_START_TEST() 180 GstTracer *tracer = get_tracer_by_name ("plain"); in GST_START_TEST() local 181 fail_unless (tracer); in GST_START_TEST() 182 g_signal_emit_by_name (tracer, "get-live-objects", &info); in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstreamer/plugins/tracers/ |
D | gstlog.c | 349 GstTracer *tracer = GST_TRACER (self); in gst_log_tracer_init() local 351 gst_tracing_register_hook (tracer, "pad-push-pre", in gst_log_tracer_init() 353 gst_tracing_register_hook (tracer, "pad-push-post", in gst_log_tracer_init() 355 gst_tracing_register_hook (tracer, "pad-push-list-pre", in gst_log_tracer_init() 357 gst_tracing_register_hook (tracer, "pad-push-list-post", in gst_log_tracer_init() 359 gst_tracing_register_hook (tracer, "pad-pull-range-pre", in gst_log_tracer_init() 361 gst_tracing_register_hook (tracer, "pad-pull-range-post", in gst_log_tracer_init() 363 gst_tracing_register_hook (tracer, "pad-push-event-pre", in gst_log_tracer_init() 365 gst_tracing_register_hook (tracer, "pad-push-event-post", in gst_log_tracer_init() 367 gst_tracing_register_hook (tracer, "pad-query-pre", in gst_log_tracer_init() [all …]
|
D | gstleaks.h | 81 GstStructure * (*get_live_objects) (GstLeaksTracer *tracer); 82 void (*log_live_objects) (GstLeaksTracer *tracer); 83 void (*activity_start_tracking) (GstLeaksTracer *tracer); 84 GstStructure * (*activity_get_checkpoint) (GstLeaksTracer *tracer); 85 void (*activity_log_checkpoint) (GstLeaksTracer *tracer); 86 void (*activity_stop_tracking) (GstLeaksTracer *tracer);
|
D | gstleaks.c | 409 mini_object_created_cb (GstTracer * tracer, GstClockTime ts, in mini_object_created_cb() argument 412 GstLeaksTracer *self = GST_LEAKS_TRACER_CAST (tracer); in mini_object_created_cb() 418 object_created_cb (GstTracer * tracer, GstClockTime ts, GstObject * object) in object_created_cb() argument 420 GstLeaksTracer *self = GST_LEAKS_TRACER_CAST (tracer); in object_created_cb() 462 object_reffed_cb (GstTracer * tracer, GstClockTime ts, GstObject * object, in object_reffed_cb() argument 465 GstLeaksTracer *self = GST_LEAKS_TRACER_CAST (tracer); in object_reffed_cb() 472 object_unreffed_cb (GstTracer * tracer, GstClockTime ts, GstObject * object, in object_unreffed_cb() argument 475 GstLeaksTracer *self = GST_LEAKS_TRACER_CAST (tracer); in object_unreffed_cb() 482 mini_object_reffed_cb (GstTracer * tracer, GstClockTime ts, in mini_object_reffed_cb() argument 485 GstLeaksTracer *self = GST_LEAKS_TRACER_CAST (tracer); in mini_object_reffed_cb() [all …]
|
D | gstlatency.c | 335 do_push_buffer_pre (GstTracer * tracer, guint64 ts, GstPad * pad) in do_push_buffer_pre() argument 337 GstLatencyTracer *self = (GstLatencyTracer *) tracer; in do_push_buffer_pre() 348 do_pull_range_pre (GstTracer * tracer, guint64 ts, GstPad * pad) in do_pull_range_pre() argument 350 GstLatencyTracer *self = (GstLatencyTracer *) tracer; in do_pull_range_pre() 483 do_query_post (GstLatencyTracer * tracer, GstClockTime ts, GstPad * pad, in do_query_post() argument 487 if ((tracer->flags & GST_LATENCY_TRACER_FLAG_REPORTED_ELEMENT) && in do_query_post() 740 GstTracer *tracer = GST_TRACER (self); in gst_latency_tracer_init() local 748 gst_tracing_register_hook (tracer, "pad-push-pre", in gst_latency_tracer_init() 750 gst_tracing_register_hook (tracer, "pad-push-list-pre", in gst_latency_tracer_init() 757 gst_tracing_register_hook (tracer, "pad-pull-range-pre", in gst_latency_tracer_init() [all …]
|
D | gststats.c | 790 GstTracer *tracer = GST_TRACER (self); in gst_stats_tracer_init() local 792 gst_tracing_register_hook (tracer, "pad-push-pre", in gst_stats_tracer_init() 794 gst_tracing_register_hook (tracer, "pad-push-post", in gst_stats_tracer_init() 796 gst_tracing_register_hook (tracer, "pad-push-list-pre", in gst_stats_tracer_init() 798 gst_tracing_register_hook (tracer, "pad-push-list-post", in gst_stats_tracer_init() 800 gst_tracing_register_hook (tracer, "pad-pull-range-pre", in gst_stats_tracer_init() 802 gst_tracing_register_hook (tracer, "pad-pull-range-post", in gst_stats_tracer_init() 804 gst_tracing_register_hook (tracer, "pad-push-event-pre", in gst_stats_tracer_init() 806 gst_tracing_register_hook (tracer, "element-new", in gst_stats_tracer_init() 808 gst_tracing_register_hook (tracer, "element-post-message-pre", in gst_stats_tracer_init() [all …]
|
/third_party/gstreamer/gstreamer/gst/ |
D | gsttracerutils.c | 115 GstTracer *tracer; in _priv_gst_tracing_init() local 120 tracer = g_object_new (factory->type, "params", params, NULL); in _priv_gst_tracing_init() 123 gst_object_ref_sink (tracer); in _priv_gst_tracing_init() 126 gst_object_unref (tracer); in _priv_gst_tracing_init() 155 gst_object_unref (hook->tracer); in _priv_gst_tracing_deinit() 166 gst_tracing_register_hook_id (GstTracer * tracer, GQuark detail, GCallback func) in gst_tracing_register_hook_id() argument 171 hook->tracer = gst_object_ref (tracer); in gst_tracing_register_hook_id() 193 gst_tracing_register_hook (GstTracer * tracer, const gchar * detail, in gst_tracing_register_hook() argument 196 gst_tracing_register_hook_id (tracer, g_quark_try_string (detail), func); in gst_tracing_register_hook() 227 if (g_list_index (tracers, hook->tracer) >= 0) in gst_tracing_get_active_tracers() [all …]
|
D | gsttracer.c | 71 GstTracer *tracer = GST_TRACER (object); in gst_tracer_dispose() local 72 g_free (tracer->priv->params); in gst_tracer_dispose() 92 gst_tracer_init (GstTracer * tracer) in gst_tracer_init() argument 94 tracer->priv = gst_tracer_get_instance_private (tracer); in gst_tracer_init()
|
/third_party/rust/crates/tracing/tracing-opentelemetry/src/ |
D | layer.rs | 34 tracer: T, field 422 pub fn new(tracer: T) -> Self { in new() 424 tracer, in new() 463 pub fn with_tracer<Tracer>(self, tracer: Tracer) -> OpenTelemetryLayer<S, Tracer> in with_tracer() 468 tracer, in with_tracer() 594 .map(|builder| self.tracer.sampled_context(builder)) in parent_context() 603 .map(|builder| self.tracer.sampled_context(builder)) in parent_context() 629 f(builder, &layer.tracer); in get_context() 677 .tracer in on_new_span() 681 .with_span_id(self.tracer.new_span_id()); in on_new_span() [all …]
|
D | tracer.rs | 170 let tracer = provider.tracer("test"); in assigns_default_trace_id_if_missing() localVariable 175 let cx = tracer.sampled_context(&mut OtelData { builder, parent_cx }); in assigns_default_trace_id_if_missing() 211 let tracer = provider.tracer("test"); in sampled_context() localVariable 214 let sampled = tracer.sampled_context(&mut OtelData { builder, parent_cx }); in sampled_context()
|
/third_party/rust/crates/tracing/tracing-opentelemetry/benches/ |
D | trace.rs | 16 let tracer = provider.tracer("bench"); in many_children() localVariable 18 fn dummy(tracer: &Tracer, cx: &Context) { in many_children() 20 tracer.start_with_context("child", cx); in many_children() 24 tracer.in_span("parent", |cx| dummy(&tracer, &cx)); in many_children() 44 let tracer = provider.tracer("bench"); in many_children() localVariable 46 .with_tracer(tracer) in many_children()
|
/third_party/gstreamer/gstreamer/tests/benchmarks/ |
D | tracing.sh | 11 tracer=$1 20 echo "testing $tracer on $file" 29 echo "$tracer" 30 GST_DEBUG="GST_TRACER:7" GST_TRACERS="$tracer" test 34 GST_TRACERS="$tracer" test
|
/third_party/skia/src/utils/ |
D | SkEventTracer.cpp | 45 bool SkEventTracer::SetInstance(SkEventTracer* tracer) { in SetInstance() argument 47 if (!gUserTracer.compare_exchange_strong(expected, tracer)) { in SetInstance() 48 delete tracer; in SetInstance() 56 if (auto tracer = gUserTracer.load(std::memory_order_acquire)) { in GetInstance() local 57 return tracer; in GetInstance()
|
/third_party/flutter/skia/src/utils/ |
D | SkEventTracer.cpp | 45 bool SkEventTracer::SetInstance(SkEventTracer* tracer) { in SetInstance() argument 47 if (!gUserTracer.compare_exchange_strong(expected, tracer)) { in SetInstance() 48 delete tracer; in SetInstance() 56 if (auto tracer = gUserTracer.load(std::memory_order_acquire)) { in GetInstance() local 57 return tracer; in GetInstance()
|
/third_party/flutter/engine/flutter/shell/common/ |
D | skia_event_tracer_impl.cc | 116 FlutterEventTracer* tracer = static_cast<FlutterEventTracer*>(user_data); in enableSkiaTracingCallback() local 117 tracer->enable(); in enableSkiaTracingCallback() 124 auto tracer = new FlutterEventTracer(enabled); in InitSkiaEventTracer() local 127 static_cast<void*>(tracer)); in InitSkiaEventTracer() 130 SkEventTracer::SetInstance(tracer); in InitSkiaEventTracer()
|
/third_party/python/Lib/turtledemo/ |
D | clock.py | 102 tracer(False) # Terminator can occur here 112 tracer(True) 116 tracer(True) 122 tracer(False) 124 tracer(True)
|
D | lindenmayer.py | 72 tracer(1,0) 108 tracer(3,0) 113 tracer(1)
|
D | nim.py | 122 self.screen.tracer(False) 132 self.screen.tracer(True) 135 self.screen.tracer(False) 144 self.screen.tracer(True) 147 self.screen.tracer(False) 155 self.screen.tracer(True)
|
D | penrose.py | 117 tracer(0) 126 tracer(1) 140 tracer(0) 143 tracer(1)
|
/third_party/rust/crates/tracing/tracing-opentelemetry/tests/ |
D | trace_state_propagation.rs | 118 let tracer = provider.tracer("test"); in test_tracer() localVariable 119 let subscriber = tracing_subscriber::registry().with(layer().with_tracer(tracer.clone())); in test_tracer() 121 (tracer, provider, exporter, subscriber) in test_tracer() 151 let (tracer, provider, exporter, subscriber) = test_tracer(); in build_sampled_context() 152 let span = tracer.start("sampled"); in build_sampled_context()
|
/third_party/ltp/testcases/kernel/tracing/ftrace_test/ftrace_stress/ |
D | ftrace_current_tracer.sh | 21 for tracer in `cat "$TRACING_PATH"/available_tracers` 23 if [ "$tracer" = mmiotrace ]; then 27 echo $tracer > "$TRACING_PATH"/current_tracer 2> /dev/null
|
/third_party/rust/crates/tracing/tracing-log/ |
D | CHANGELOG.md | 5 - **log-tracer**: Added `LogTracer::with_interest_cache` to enable a limited 14 - **log-tracer**: Fixed `LogTracer` not honoring `tracing` max level filters 37 - **log-tracer**: Fixed `Log::enabled` implementation for `LogTracer` not 39 - **log-tracer**: Fixed `Log::enabled` implementation for `LogTracer` not
|