blob: 47843b6dbc7d55ca8396c2e079d1b88b6cf51bee [file] [log] [blame]
Yuly Novikov91404282013-06-26 19:36:58 -04001// Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Alex Vakulenko262be3f2014-07-30 15:25:50 -07005#ifndef DEBUGD_SRC_SYSRQ_TOOL_H_
6#define DEBUGD_SRC_SYSRQ_TOOL_H_
Yuly Novikov91404282013-06-26 19:36:58 -04007
8#include <base/basictypes.h>
9#include <dbus-c++/dbus.h>
10
11namespace debugd {
12
13class SysrqTool {
14 public:
15 SysrqTool();
16 ~SysrqTool();
17
Ben Chana0011d82014-05-13 00:19:29 -070018 void LogKernelTaskStates(DBus::Error* error);
19
Yuly Novikov91404282013-06-26 19:36:58 -040020 private:
21 DISALLOW_COPY_AND_ASSIGN(SysrqTool);
22};
23
Ben Chana0011d82014-05-13 00:19:29 -070024} // namespace debugd
Yuly Novikov91404282013-06-26 19:36:58 -040025
Alex Vakulenko262be3f2014-07-30 15:25:50 -070026#endif // DEBUGD_SRC_SYSRQ_TOOL_H_