Go to the source code of this file.
|
| static uint64_t | log_file_op_read (file_t *file, void *buffer, uint64_t count, uint64_t *offset) |
| |
| static uint64_t | log_file_op_write (file_t *file, const void *buffer, uint64_t count, uint64_t *offset) |
| |
| static wait_queue_t * | log_file_op_poll (file_t *file, poll_events_t *revents) |
| |
| void | log_file_expose (void) |
| | Expose the kernel log file to userspace in sysfs.
|
| |
| static void | log_file_advance_fake_cursor (char chr, uint64_t *lineLength, uint64_t *lineCount) |
| |
| void | log_file_flush_to_screen (void) |
| | Flush the content of the log file to the screen.
|
| |
| void | log_file_write (const char *string, uint64_t length) |
| | Write a string to the kernel log file.
|
| |
◆ log_file_op_read()
◆ log_file_op_write()
◆ log_file_op_poll()
◆ log_file_advance_fake_cursor()
| static void log_file_advance_fake_cursor |
( |
char |
chr, |
|
|
uint64_t * |
lineLength, |
|
|
uint64_t * |
lineCount |
|
) |
| |
|
static |
◆ lock
◆ waitQueue
◆ workingBuffer
◆ buffer
◆ ring
◆ file
◆ logFileOps
Initial value:= {
}
static wait_queue_t * log_file_op_poll(file_t *file, poll_events_t *revents)
static uint64_t log_file_op_read(file_t *file, void *buffer, uint64_t count, uint64_t *offset)
static uint64_t log_file_op_write(file_t *file, const void *buffer, uint64_t count, uint64_t *offset)
Definition at line 56 of file log_file.c.