kernel: Also add the debug level to the "info" KDL command

This commit is contained in:
Axel Dörfler 2020-01-11 21:36:09 +01:00
parent f111c8c6fe
commit c9dd084d58

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004-2014, Haiku, Inc.
* Copyright (c) 2004-2020, Haiku, Inc.
* Distributed under the terms of the MIT license.
*
* Authors:
@ -49,8 +49,8 @@ const static char *kKernelName = "kernel_" HAIKU_ARCH;
static int
dump_info(int argc, char **argv)
{
kprintf("kernel build: %s %s (gcc%d %s)\n", __DATE__, __TIME__, __GNUC__,
__VERSION__);
kprintf("kernel build: %s %s (gcc%d %s), debug level %d\n", __DATE__,
__TIME__, __GNUC__, __VERSION__, KDEBUG_LEVEL);
kprintf("revision: %s\n\n", get_haiku_revision());
kprintf("cpu count: %" B_PRId32 "\n", smp_get_num_cpus());