blob: 4b21f337f063bb74ead83889f683d9a56c93178d [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SYSTRACE_TOOL_H_
#define SYSTRACE_TOOL_H_
#include <map>
#include <string>
#include <base/basictypes.h>
#include <dbus-c++/dbus.h>
#include "subprocess_tool.h"
namespace debugd {
class SystraceTool {
public:
SystraceTool();
~SystraceTool();
std::string Start(const std::string& categories, DBus::Error* error);
void Stop(const DBus::FileDescriptor& outfd, DBus::Error* error);
std::string Status(DBus::Error* error);
};
} // namespace debugd
#endif // SYSTRACE_TOOL_H_