Required kernel configuration menu options
Whether you are running Linux or Android on your target, you must enable certain kernel configuration options to run Streamline.
menuconfig menus have options that are required
NoteIf these options are not set correctly, you must change them and rebuild your kernel. If they are set correctly, you are ready to build and install the gator driver.
NoteThe location of these options might change between releases. If so, use the search option in
menuconfigto find them.
- General Setup
- Enable the Profiling Support option,
CONFIG_PROFILINGand the Kernel performance events and counters option,
- Kernel Features
- Enable the High Resolution Timer
CONFIG_HIGH_RES_TIMERSand the Enable hardware performance counter support option,
CONFIG_HW_PERF_EVENTS. Enable the Use local timer interrupts option,
CONFIG_LOCAL_TIMERS, if you are using Symmetric MultiProcessing (SMP). The
CONFIG_LOCAL_TIMERSoption is not necessary if you are running on Linux version 3.12 or later.
- CPU Power Management
- To enable the CPU Freq Timeline view chart, gator requires kernel version
2.6.38 or greater and that you define the CPU
Frequency scaling option,
NoteThe Trace context switches and events option,
CONFIG_ENABLE_DEFAULT_TRACERS, is not visible if you have other Tracers configuration options enabled. Enabling other Tracers configuration options is sufficient to turn on context switches and events and run Streamline.
CONFIG_TRACINGalso work to enable tracing. The Trace process context switches and events option might not be visible in
menuconfigas an option if other trace configurations are enabled. Enabling one of these other trace configurations is sufficient to turn on tracing.