|
version 1.5, 2000/06/15 04:08:12
|
version 1.6, 2000/06/15 14:28:19
|
|
|
|
| most recent debugging messages are sometimes needed (e.g., after an | most recent debugging messages are sometimes needed (e.g., after an |
| error is observed). | error is observed). |
| | |
| The emlog kernel module that implements simple character device |
The emlog kernel module implements simple character device driver. |
| driver. The driver acts like a named pipe that has a finite, circular |
The driver acts like a named pipe that has a finite, circular buffer. |
| buffer. The size of the buffer is easily configurable. As more data |
The size of the buffer is easily configurable. As more data is |
| is written into the buffer, the oldest data is discarded. A process |
written into the buffer, the oldest data is discarded. A process that |
| that reads from an emlog device will first read the existing buffer, |
reads from an emlog device will first read the existing buffer, then |
| then see new text as it's written, similar to monitoring a log file |
see new text as it's written, similar to monitoring a log file using |
| using "tail -f". |
"tail -f". |
| | |
| | |
| How is emlog used? | How is emlog used? |
|
|
|
| Known Bugs | Known Bugs |
| ========== | ========== |
| | |
| emlog identifies buffers based on solely on the inode number of the |
emlog identifies buffers based solely on the inode number of the |
| device file being accessed. If two device files on two different | device file being accessed. If two device files on two different |
| filesystems happen to have the same inode number, they will share the | filesystems happen to have the same inode number, they will share the |
| same buffer, as if they were the same device file. | same buffer, as if they were the same device file. |