blob: 64c5911f0de75964774a33beadea2d0ff7079361 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(dje): wip wip wip
#pragma once
#include "server.h"
namespace debugserver {
bool AllocTrace(const IptConfig& config);
bool InitCpuPerf(const IptConfig& config);
bool InitThreadPerf(Thread* thread, const IptConfig& config);
bool InitPerfPreProcess(const IptConfig& config);
bool StartCpuPerf(const IptConfig& config);
bool StartThreadPerf(Thread* thread, const IptConfig& config);
void StopCpuPerf(const IptConfig& config);
void StopThreadPerf(Thread* thread, const IptConfig& config);
void StopPerf(const IptConfig& config);
void DumpCpuPerf(const IptConfig& config);
void DumpThreadPerf(Thread* thread, const IptConfig& config);
void DumpPerf(const IptConfig& config);
void ResetCpuPerf(const IptConfig& config);
void ResetThreadPerf(Thread* thread, const IptConfig& config);
void FreeTrace(const IptConfig& config);
} // debugserver namespace