#ifndef SERVICES_TRACING_PUBLIC_CPP_TRACING_FEATURES_H_
#define SERVICES_TRACING_PUBLIC_CPP_TRACING_FEATURES_H_
#include "base/component_export.h"
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
namespace features {
extern const COMPONENT_EXPORT(TRACING_CPP) base::Feature
kTracingServiceInProcess;
extern const COMPONENT_EXPORT(TRACING_CPP) base::Feature
kEnablePerfettoSystemTracing;
extern const COMPONENT_EXPORT(TRACING_CPP) base::Feature
kEnablePerfettoSystemBackgroundTracing;
COMPONENT_EXPORT(TRACING_CPP)
BASE_DECLARE_FEATURE_PARAM(int, kPerfettoSMBPageSizeBytes);
COMPONENT_EXPORT(TRACING_CPP)
BASE_DECLARE_FEATURE_PARAM(int, kPerfettoSharedMemorySizeBytes);
}
namespace tracing {
inline constexpr size_t kDefaultSharedMemorySizeBytes =
4 * 1024 * 1024;
inline constexpr size_t kDefaultSMBPageSizeBytes = 4 * 1024;
bool COMPONENT_EXPORT(TRACING_CPP) ShouldSetupSystemTracing();
bool COMPONENT_EXPORT(TRACING_CPP) SystemBackgroundTracingEnabled();
}
#endif