summaryrefslogtreecommitdiff
path: root/include/linux/sys_info.h
blob: 53b7e27dbf2afadd5a7e8af876f440568a8dafd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_SYS_INFO_H
#define _LINUX_SYS_INFO_H

/*
 * SYS_INFO_PANIC_CONSOLE_REPLAY is for panic case only, as it needs special
 * handling which only fits panic case.
 */
#define SYS_INFO_TASKS			0x00000001
#define SYS_INFO_MEM			0x00000002
#define SYS_INFO_TIMERS			0x00000004
#define SYS_INFO_LOCKS			0x00000008
#define SYS_INFO_FTRACE			0x00000010
#define SYS_INFO_PANIC_CONSOLE_REPLAY	0x00000020
#define SYS_INFO_ALL_CPU_BT		0x00000040
#define SYS_INFO_BLOCKED_TASKS		0x00000080

void sys_info(unsigned long si_mask);

#endif	/* _LINUX_SYS_INFO_H */