Commit 47655ee
feat: support PRINTK_CALLER kmsg logs
Closes #10
Add support for caller information in kmsg log entries.
More examples available at #10 (comment)
Also adds tests for a log entry with a Thread caller and a Cpu caller.
Further references:
* https://elixir.bootlin.com/linux/v6.6.22/source/kernel/printk/printk_ringbuffer.h#L15
* https://elixir.bootlin.com/linux/v6.6.22/source/kernel/printk/printk.c#L629
Signed-off-by: Stanley Chan <pocketgamer5000@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>1 parent e358d13 commit 47655ee
2 files changed
+74
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
43 | 60 | | |
44 | 61 | | |
45 | 62 | | |
| |||
77 | 94 | | |
78 | 95 | | |
79 | 96 | | |
| 97 | + | |
80 | 98 | | |
81 | 99 | | |
82 | 100 | | |
| |||
108 | 126 | | |
109 | 127 | | |
110 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
111 | 154 | | |
112 | 155 | | |
113 | 156 | | |
114 | 157 | | |
115 | 158 | | |
116 | 159 | | |
| 160 | + | |
117 | 161 | | |
118 | 162 | | |
119 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
66 | 96 | | |
67 | 97 | | |
68 | 98 | | |
| |||
0 commit comments