blob: 2311deb79c8e8b0242042d9f34a745cd1f2fc1e2 [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
Ben Chan657bed82014-09-02 20:40:51 -07008#include <base/macros.h>
Yuly Novikov91404282013-06-26 19:36:58 -04009#include <dbus-c++/dbus.h>
10
11namespace debugd {
12
13class SysrqTool {
14 public:
Ben Chan78f89532014-08-29 09:35:09 -070015 SysrqTool() = default;
16 ~SysrqTool() = default;
Yuly Novikov91404282013-06-26 19:36:58 -040017
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_