kernel: Also add the debug level to the "info" KDL command
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2004-2014, Haiku, Inc.
|
* Copyright (c) 2004-2020, Haiku, Inc.
|
||||||
* Distributed under the terms of the MIT license.
|
* Distributed under the terms of the MIT license.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
@@ -49,8 +49,8 @@ const static char *kKernelName = "kernel_" HAIKU_ARCH;
|
|||||||
static int
|
static int
|
||||||
dump_info(int argc, char **argv)
|
dump_info(int argc, char **argv)
|
||||||
{
|
{
|
||||||
kprintf("kernel build: %s %s (gcc%d %s)\n", __DATE__, __TIME__, __GNUC__,
|
kprintf("kernel build: %s %s (gcc%d %s), debug level %d\n", __DATE__,
|
||||||
__VERSION__);
|
__TIME__, __GNUC__, __VERSION__, KDEBUG_LEVEL);
|
||||||
kprintf("revision: %s\n\n", get_haiku_revision());
|
kprintf("revision: %s\n\n", get_haiku_revision());
|
||||||
|
|
||||||
kprintf("cpu count: %" B_PRId32 "\n", smp_get_num_cpus());
|
kprintf("cpu count: %" B_PRId32 "\n", smp_get_num_cpus());
|
||||||
|
|||||||
Reference in New Issue
Block a user