EasyManua.ls Logo

ARM DS-5 - Mali Setup for Streamline

Default Icon
123 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Setting Up Your Target
ARM DUI 0482K Copyright © 2010-2012 ARM. All rights reserved. 2-11
ID120712 Non-Confidential
2.4 Mali setup for Streamline
Streamline enables you to gather GPU-specific profiling data on a Mali-400 based device,
adding a significant amount of data about the graphical performance of your target to the
Analysis Reports.
2.4.1 Requirements
A Mali-400 or Mali-T6xx based device.
A sufficiently recent version of the
mali.ko
driver. The driver must be capable of
generating the tracepoints needed by the
gator.ko
driver. Consult your supplier to see if
this version of the driver is available for your device. For more information, see the Mali
developer site, http://www.malideveloper.com
2.4.2 Special instructions for building the gator driver
Follow normal installation and setup instructions for Streamline and the gator daemon. To build
the gator driver,
gator.ko
with Mali support, add a build switch and an include to the make
command. The build switch enables Mali support, and the include path allows the compiler to
locate the
mali_linux_trace.h
header file containing the declaration of the Linux tracepoints
necessary for Mali support. To build the gator module for Mali, follow these steps:
1. Add the following options to your
gator.ko
make
command:
KCFLAGS="-IMali_driver_source_location/src/devicedrv/mali"
GATOR_WITH_MALI_SUPPORT=MALI_Device_Number
Replace
Device_Number
in the command with either
400
or
T6xx
, depending on your Mali
device type.
Note
If you are using a Mali-T6xx device you must add one additional option to your gator.ko
make command:
DDK_DIR=path_to_dev_driver_directory
.
2. Insert the gator module as normal:
insmod gator.ko
3. Verify that you built the module successfully:
ls -l /dev/gator/events/ARM_Mali_Device_Type
Replace
Mali_Device_Type
in the command with either
Mali-400*
or
Mali-T6xx*
. This
command should produce a list of counters.
If you have successfully built the gator module with Mali support, you can run a capture session
on a Mali target. Follow the normal instructions for setting capture options and a triggering a
capture session. For more information on how to do this, see The Streamline Data view on
page 3-2.
2.4.3 See also
Tasks
Opening the Capture Options dialog box on page 4-2
Setting up an ARM Linux target on page 2-2.
Reference
Target connection issues on page 14-2

Table of Contents

Related product manuals