Redirect kmsg to /dev/log and detect hungup

1. ihkmond retrieves kmsg when the amount of kmsg exceeds the threashold and
   /dev/mcosX is deleted
2. ihkmond periodically monitors OS status change to detect hungup
This commit is contained in:
Masamichi Takagi
2017-09-01 15:31:37 +09:00
parent daa7526127
commit 5b51eb80a3
7 changed files with 138 additions and 186 deletions

View File

@@ -13,9 +13,8 @@
#ifndef KMSG_H
#define KMSG_H
void kmsg_init(void);
void kputs(char *buf);
int kprintf(const char *format, ...);
void kmsg_init(int);
#endif