Home
last modified time | relevance | path

Searched refs:trigger_config (Results 1 – 11 of 11) sorted by relevance

/external/perfetto/src/tracing/core/
Dtracing_service_impl_unittest.cc70 Property(&protos::TraceConfig::trigger_config, in HasTriggerModeInternal()
288 auto* trigger_config = trace_config.mutable_trigger_config(); in TEST_F() local
289 trigger_config->set_trigger_mode(TraceConfig::TriggerConfig::START_TRACING); in TEST_F()
290 auto* trigger = trigger_config->add_triggers(); in TEST_F()
294 trigger_config->set_trigger_timeout_ms(8.64e+7); in TEST_F()
343 auto* trigger_config = trace_config.mutable_trigger_config(); in TEST_F() local
344 trigger_config->set_trigger_mode(TraceConfig::TriggerConfig::START_TRACING); in TEST_F()
345 auto* trigger = trigger_config->add_triggers(); in TEST_F()
349 trigger_config->set_trigger_timeout_ms(1); in TEST_F()
385 auto* trigger_config = trace_config.mutable_trigger_config(); in TEST_F() local
[all …]
Dtracing_service_impl.cc331 const bool has_trigger_config = cfg.trigger_config().trigger_mode() != in EnableTracing()
333 if (has_trigger_config && (cfg.trigger_config().trigger_timeout_ms() == 0 || in EnableTracing()
334 cfg.trigger_config().trigger_timeout_ms() > in EnableTracing()
339 cfg.trigger_config().trigger_timeout_ms()); in EnableTracing()
350 for (const auto& trigger : cfg.trigger_config().triggers()) { in EnableTracing()
496 switch (cfg.trigger_config().trigger_mode()) { in EnableTracing()
510 cfg.trigger_config().trigger_timeout_ms()); in EnableTracing()
520 cfg.trigger_config().trigger_timeout_ms()); in EnableTracing()
693 if (tracing_session_ptr->config.trigger_config().trigger_mode() == in StartTracing()
920 tracing_session.config.trigger_config().triggers().begin(), in ActivateTriggers()
[all …]
Dtrace_config.cc147 trigger_config_.FromProto(proto.trigger_config()); in FromProto()
/external/linux-kselftest/tools/testing/selftests/kmod/
Dkmod.sh280 if ! echo -n "1" >"$DIR"/trigger_config 2>/dev/null; then
290 if echo "1" > $DIR/trigger_config 2>/dev/null; then
/external/perfetto/test/configs/
Dbackground.cfg50 trigger_config {
/external/perfetto/test/
Dend_to_end_integrationtest.cc701 packet.trace_config().trigger_config().trigger_mode()); in TEST_F()
783 packet.trace_config().trigger_config().trigger_mode()); in TEST_F()
927 packet.trace_config().trigger_config().trigger_mode()); in TEST_F()
/external/perfetto/include/perfetto/tracing/core/
Dtrace_config.h579 const TriggerConfig& trigger_config() const { return trigger_config_; } in trigger_config() function
/external/perfetto/src/perfetto_cmd/
Dperfetto_cmd.cc579 trace_config_->trigger_config().trigger_timeout_ms() == 0)) { in Main()
/external/perfetto/protos/perfetto/config/
Dtrace_config.proto242 optional TriggerConfig trigger_config = 17; field
Dperfetto_config.proto711 optional TriggerConfig trigger_config = 17; field
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto3812 optional TriggerConfig trigger_config = 17; field