mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
core: Add all kernel log levels
And notice that INFO is 6 not 5. This is because I had intended to use KERN_NOTICE anyway... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
9b500dbf6b
commit
de1e877be5
@ -227,7 +227,14 @@ enum {
|
||||
|
||||
__attribute__((format(printf, 1, 2)))
|
||||
static void kmsg(const char *format, ...)
|
||||
#define KERN_INFO "<5>"
|
||||
#define KERN_EMER "<0>"
|
||||
#define KERN_ALERT "<1>"
|
||||
#define KERN_CRIT "<2>"
|
||||
#define KERN_ERR "<3>"
|
||||
#define KERN_WARNING "<4>"
|
||||
#define KERN_NOTICE "<5>"
|
||||
#define KERN_INFO "<6>"
|
||||
#define KERN_DEBUG "<7>"
|
||||
{
|
||||
va_list ap;
|
||||
FILE *file;
|
||||
|
Loading…
x
Reference in New Issue
Block a user