blob: 851d507c7112ee6918ad2ea6977cd79af6872b17 [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
Ben Chana0011d82014-05-13 00:19:29 -07005#ifndef SYSRQ_TOOL_H_
6#define 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
Ben Chana0011d82014-05-13 00:19:29 -070026#endif // SYSRQ_TOOL_H_