forked from Imagelibrary/seL4
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:
@@ -365,6 +365,14 @@ if(NOT (KernelBenchmarks STREQUAL "none"))
|
|||||||
else()
|
else()
|
||||||
config_set(KernelEnableBenchmarks ENABLE_BENCHMARKS OFF)
|
config_set(KernelEnableBenchmarks ENABLE_BENCHMARKS OFF)
|
||||||
endif()
|
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(
|
config_string(
|
||||||
KernelMaxNumTracePoints MAX_NUM_TRACE_POINTS
|
KernelMaxNumTracePoints MAX_NUM_TRACE_POINTS
|
||||||
"Use TRACE_POINT_START(k) and TRACE_POINT_STOP(k) macros for recording data, \
|
"Use TRACE_POINT_START(k) and TRACE_POINT_STOP(k) macros for recording data, \
|
||||||
|
|||||||
@@ -9,9 +9,3 @@
|
|||||||
/* Compile-time configuration parameters. Might be set by the build system. */
|
/* Compile-time configuration parameters. Might be set by the build system. */
|
||||||
|
|
||||||
#include <autoconf.h>
|
#include <autoconf.h>
|
||||||
|
|
||||||
/* Configurations requring the kernel log buffer */
|
|
||||||
#if defined CONFIG_BENCHMARK_TRACK_KERNEL_ENTRIES || \
|
|
||||||
defined CONFIG_BENCHMARK_TRACEPOINTS
|
|
||||||
#define CONFIG_KERNEL_LOG_BUFFER
|
|
||||||
#endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user