1.6 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.

The following menuconfig menus have options that are required for Streamline:

Note

  • If 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.
  • The location of these options might change between releases. If so, use the search option in menuconfig to find them.
  • Additional options are required to enable Mali GPU support.
General Setup
Enable the Profiling Support option, CONFIG_PROFILING and the Kernel performance events and counters option, CONFIG_PERF_EVENTS. CONFIG_PERF_EVENTS is required for kernel versions 3.0 and later. Optionally enable the Enable loadable module support option, CONFIG_MODULES and Module unloading option, MODULE_UNLOAD. These two options are only required if the gator driver is not built into the kernel. They are not needed for user space gator.
Kernel Features
Enable the High Resolution Timer Support option, CONFIG_HIGH_RES_TIMERS and the Enable hardware performance counter support for perf events option, CONFIG_HW_PERF_EVENTS. CONFIG_HW_PERF_EVENTS is required for kernel versions 3.0 and later. Enable the Use local timer interrupts option, CONFIG_LOCAL_TIMERS, if you are using Symmetric MultiProcessing (SMP). The CONFIG_LOCAL_TIMERS option is not necessary if you are running on Linux version 3.12 or later.
CPU Power Management
Optionally enable the CPU Frequency scaling option, CONFIG_CPU_FREQ to enable the CPU Freq Timeline view chart. gator requires kernel version 2.6.38 or greater to enable this chart.
Kernel hacking
The Trace process context switches and events option, CONFIG_ENABLE_DEFAULT_TRACERS, might not be visible in menuconfig as an option if other trace configuration options are enabled. Enabling one of these other trace configurations, for example CONFIG_GENERIC_TRACER, CONFIG_TRACING, or CONFIG_CONTEXT_SWITCH_TRACER, is sufficient to enable tracing. Optionally enable the Compile the kernel with debug info option, CONFIG_DEBUG_INFO. This is only required for profiling the Linux kernel.
Related tasks
1.14 Setting up Streamline to support an ARM® Mali™-based device
1.5 Preparing and building your Linux kernel
Non-ConfidentialPDF file icon PDF versionARM DUI0482U
Copyright © 2010-2015 ARM. All rights reserved.