5#ifndef FLUTTER_RUNTIME_PTRACE_CHECK_H_
6#define FLUTTER_RUNTIME_PTRACE_CHECK_H_
8#include "flutter/common/settings.h"
9#include "flutter/fml/build_config.h"
13#define TRACING_CHECKS_NECESSARY \
14 FML_OS_IOS && !TARGET_OS_SIMULATOR && \
15 (FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG)
24#if TRACING_CHECKS_NECESSARY
25bool EnableTracingIfNecessaryImpl(
const Settings& vm_settings);
46#if TRACING_CHECKS_NECESSARY
47 return EnableTracingIfNecessaryImpl(vm_settings);
63#if TRACING_CHECKS_NECESSARY
64 return GetTracingResultImpl();
TracingResult GetTracingResult()
Returns if a tracing check has been performed and its result. To enable tracing, the Settings object ...
bool EnableTracingIfNecessary(const Settings &vm_settings)
Enables tracing in the process so that JIT mode VMs may be launched. Explicitly enabling tracing is n...