#include "perfetto/tracing/internal/system_tracing_backend.h"
#include "perfetto/base/logging.h"
#include "perfetto/base/task_runner.h"
#include "perfetto/ext/tracing/core/tracing_service.h"
#include "perfetto/ext/tracing/ipc/producer_ipc_client.h"
#include "perfetto/tracing/default_socket.h"
#if PERFETTO_BUILDFLAG(PERFETTO_SYSTEM_CONSUMER)
#include "perfetto/ext/tracing/ipc/consumer_ipc_client.h"
#endif
#if PERFETTO_BUILDFLAG(PERFETTO_OS_WIN)
#include "src/tracing/ipc/shared_memory_windows.h"
#else
#include "src/tracing/ipc/posix_shared_memory.h"
#endif
namespace perfetto {
namespace internal {
TracingProducerBackend* SystemProducerTracingBackend::GetInstance() { … }
SystemProducerTracingBackend::SystemProducerTracingBackend() { … }
std::unique_ptr<ProducerEndpoint> SystemProducerTracingBackend::ConnectProducer(
const ConnectProducerArgs& args) { … }
TracingConsumerBackend* SystemConsumerTracingBackend::GetInstance() { … }
SystemConsumerTracingBackend::SystemConsumerTracingBackend() { … }
std::unique_ptr<ConsumerEndpoint> SystemConsumerTracingBackend::ConnectConsumer(
const ConnectConsumerArgs& args) { … }
}
}