chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journald: basic support for /dev/kmsg parsing
[elogind.git]
/
src
/
journal
/
journald.h
diff --git
a/src/journal/journald.h
b/src/journal/journald.h
index acf19b4e7ad13de819959d6b3a3bde7f018455f3..7e23bfc2dcf093e7e392e95a747e3b25913120cf 100644
(file)
--- a/
src/journal/journald.h
+++ b/
src/journal/journald.h
@@
-49,7
+49,7
@@
typedef struct Server {
int syslog_fd;
int native_fd;
int stdout_fd;
int syslog_fd;
int native_fd;
int stdout_fd;
- int
proc
_kmsg_fd;
+ int
dev
_kmsg_fd;
JournalFile *runtime_journal;
JournalFile *system_journal;
JournalFile *runtime_journal;
JournalFile *system_journal;
@@
-73,10
+73,6
@@
typedef struct Server {
bool forward_to_syslog;
bool forward_to_console;
bool forward_to_syslog;
bool forward_to_console;
- bool import_proc_kmsg;
- char proc_kmsg_buffer[LINE_MAX+1];
- size_t proc_kmsg_length;
-
uint64_t cached_available_space;
usec_t cached_available_space_timestamp;
uint64_t cached_available_space;
usec_t cached_available_space_timestamp;
@@
-96,6
+92,8
@@
typedef struct Server {
int max_level_console;
Storage storage;
int max_level_console;
Storage storage;
+
+ bool dev_kmsg_readable;
} Server;
/* gperf lookup function */
} Server;
/* gperf lookup function */