Add debug features - Dump top CPU usage tasks. - Dump uninterruptible tasks - Dump call stack of each online core Bug: 117820132 Change-Id: I3ddd2e0addf3982b37decefbd0c5eaeebd6ada0f Signed-off-by: Chenglu Lin <chenglulin@google.com>
28 lines
833 B
C
28 lines
833 B
C
/*
|
|
* include/linux/keydebug-func.h - function and structure for debug
|
|
* functions used by keydebug driver
|
|
*
|
|
* Copyright (C) 2018 Google, Inc.
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef _LINUX_KEYDEBUG_FUNC_H
|
|
#define _LINUX_KEYDEBUG_FUNC_H
|
|
|
|
void kernel_top_monitor(void);
|
|
void kernel_top_init(void);
|
|
void kernel_top_exit(void);
|
|
|
|
void keydebug_showallcpus(void);
|
|
|
|
#endif /* _LINUX_KEYDEBUG_FUNC_H */
|