libsel4: def. CONFIG_KERNEL_LOG_BUFFER in autoconf

Define CONFIG_KERNEL_LOG_BUFFER in the same way as all other kernel
config options so that it is present in autoconf.h

Signed-off-by: Kent McLeod <kent@kry10.com>
This commit is contained in:
Kent McLeod
2021-07-09 12:09:07 +10:00
committed by Kent McLeod
parent c7d5bb0ed4
commit 87f5992d12
2 changed files with 8 additions and 6 deletions

View File

@@ -365,6 +365,14 @@ if(NOT (KernelBenchmarks STREQUAL "none"))
else()
config_set(KernelEnableBenchmarks ENABLE_BENCHMARKS OFF)
endif()
# Reflect the existance of kernel Log buffer
if(KernelBenchmarksTrackKernelEntries OR KernelBenchmarksTracepoints)
config_set(KernelLogBuffer KERNEL_LOG_BUFFER ON)
else()
config_set(KernelLogBuffer KERNEL_LOG_BUFFER OFF)
endif()
config_string(
KernelMaxNumTracePoints MAX_NUM_TRACE_POINTS
"Use TRACE_POINT_START(k) and TRACE_POINT_STOP(k) macros for recording data, \