From a07a6b3ed8ae04919543c4f77a12ce66323ceb8b Mon Sep 17 00:00:00 2001 From: Horst Schirmeier Date: Fri, 27 Jun 2014 13:20:13 +0200 Subject: [PATCH] config: enable commonly used features by default This enables commonly used event sources and other backend features to avoid newcomers not getting their first experiments to work. The performance impact is not really a problem, but for optimal throughput unused features can still be disabled. Change-Id: Id507474eab4647137ce82cb8674fe23f7102975a --- src/core/config/CMakeLists.txt | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/core/config/CMakeLists.txt b/src/core/config/CMakeLists.txt index bbfbe80e..c731d2b1 100644 --- a/src/core/config/CMakeLists.txt +++ b/src/core/config/CMakeLists.txt @@ -2,31 +2,31 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/VariantConfig.hpp.in ${CMAKE_CURRENT_BINARY_DIR}/VariantConfig.hpp) -OPTION(CONFIG_EVENT_BREAKPOINTS "Event source: Breakpoints" OFF) -OPTION(CONFIG_EVENT_BREAKPOINTS_RANGE "Event source: Range Breakpoints" OFF) -OPTION(CONFIG_EVENT_MEMREAD "Event source: Memory reads" OFF) -OPTION(CONFIG_EVENT_MEMWRITE "Event source: Memory writes" OFF) -OPTION(CONFIG_EVENT_GUESTSYS "Event source: Outbound guest-system communication" OFF) -OPTION(CONFIG_EVENT_IOPORT "Event source: I/O port communication" OFF) -OPTION(CONFIG_EVENT_INTERRUPT "Event source: Interrupts" OFF) -OPTION(CONFIG_EVENT_TRAP "Event source: Traps" OFF) +OPTION(CONFIG_EVENT_BREAKPOINTS "Event source: Breakpoints" ON) +OPTION(CONFIG_EVENT_BREAKPOINTS_RANGE "Event source: Range Breakpoints" ON) +OPTION(CONFIG_EVENT_MEMREAD "Event source: Memory reads" ON) +OPTION(CONFIG_EVENT_MEMWRITE "Event source: Memory writes" ON) +OPTION(CONFIG_EVENT_GUESTSYS "Event source: Outbound guest-system communication" ON) +OPTION(CONFIG_EVENT_IOPORT "Event source: I/O port communication" ON) +OPTION(CONFIG_EVENT_INTERRUPT "Event source: Interrupts" ON) +OPTION(CONFIG_EVENT_TRAP "Event source: Traps" ON) OPTION(CONFIG_EVENT_JUMP "Event source: Branch instructions" OFF) -OPTION(CONFIG_SR_RESTORE "Target backend: State restore" OFF) -OPTION(CONFIG_SR_SAVE "Target backend: State saving" OFF) -OPTION(CONFIG_SR_REBOOT "Target backend: Reboot" OFF) +OPTION(CONFIG_SR_RESTORE "Target backend: State restore" ON) +OPTION(CONFIG_SR_SAVE "Target backend: State saving" ON) +OPTION(CONFIG_SR_REBOOT "Target backend: Reboot" ON) OPTION(CONFIG_BOCHS_NON_VERBOSE "Misc: Reduced verbosity (a lot faster for large campaigns)" OFF) OPTION(CONFIG_BOCHS_NO_ABORT "Misc: Do not abort or ask the user in case the simulator stumbles on unexpected events (e.g., panics)" ON) -OPTION(CONFIG_BOCHS_COMPRESS_STATE "Misc: Reduce Bochs save/restore size by compressing memory images" OFF) -OPTION(CONFIG_SUPPRESS_INTERRUPTS "Target backend: Suppress interrupts" OFF) -OPTION(CONFIG_FIRE_INTERRUPTS "Target backend: Fire interrupts" OFF) +OPTION(CONFIG_BOCHS_COMPRESS_STATE "Misc: Reduce Bochs save/restore size by compressing memory images" ON) +OPTION(CONFIG_SUPPRESS_INTERRUPTS "Target backend: Suppress interrupts" ON) +OPTION(CONFIG_FIRE_INTERRUPTS "Target backend: Fire interrupts" ON) OPTION(CONFIG_DISABLE_KEYB_INTERRUPTS "Target backend: Suppress keyboard interrupts" OFF) OPTION(SERVER_PERFORMANCE_MEASURE "Performance measurement in job-server" OFF) -OPTION(CONFIG_FAST_BREAKPOINTS "Enable fast breakpoints (requires breakpoint events to be enabled)" OFF) -OPTION(CONFIG_FAST_WATCHPOINTS "Enable fast watchpoints (requires memory access events to be enabled)" OFF) +OPTION(CONFIG_FAST_BREAKPOINTS "Enable fast breakpoints (requires breakpoint events to be enabled)" ON) +OPTION(CONFIG_FAST_WATCHPOINTS "Enable fast watchpoints (requires memory access events to be enabled)" ON) OPTION(CONFIG_INJECTIONPOINT_HOPS "Enable hop chain trace navigation to injection point" OFF) SET(SERVER_COMM_HOSTNAME "localhost" CACHE STRING "Job-server hostname or IP") SET(SERVER_COMM_TCP_PORT "1111" CACHE STRING "Job-server TCP port") -SET(SERVER_OUT_QUEUE_SIZE "0" CACHE STRING "Queue size for outbound jobs (0 = unlimited)") +SET(SERVER_OUT_QUEUE_SIZE "0" CACHE STRING "Queue size for outbound jobs (0 = unlimited)") SET(SERVER_PERF_LOG_PATH "perf.log" CACHE STRING "A file name for storing the server's performance log (CSV)") SET(SERVER_PERF_STEPPING_SEC "1" CACHE STRING "Stepping of performance measurements in seconds") SET(CLIENT_RAND_BACKOFF_TSTART "3" CACHE STRING "Lower limit of client's backoff phase in seconds")