Advanced Customizations
ARM DUI 0482K
Copyright © 2010-2012 ARM. All rights reserved.
11-7
ID120712
Non-Confidential
event
Architecture specific or implementation-specific event number, in
hexadecimal, determined from either the architecture specification document
or the Technical Reference Manual of the processor. This attribute is required
if the element does not have a counter attribute.
title
The title of the chart that Streamline displays. Counters with matching titles
stack in the charts.
name
The name that Streamline displays after the title.
per_cpu
Defines whether or not Streamline collects data on a per cpu basis. Set this
value to yes and Streamline collects data from each cpu separately for this
event.
supports_event_based_sampling
Use
yes
or
no
to define whether or not the event can be used for event based
sampling. This value defaults to the category value if the attribute is not present
in the event.
display
Use one of the following values with the display attribute: average, maximum,
minimum, hertz, accumulate. This is the same as adding .avg, .max, .min or .hz
to the counter name in the chart configuration panel of Streamline. The default
value is accumulate.
units
Defines the unit type to display in Streamline.
average_selection
Enter
yes
to have the values of the Cross Section Marker in the Timeline view
display as average. Enter
no
to have them display as a total.
description
Use this attribute to define a description to show in Streamline. The value of
this attribute is used as the tooltip for the counter.
A basic event example:
<event event="0x01" title="Cache" name="Instruction refill"
description="Instruction fetch that causes a refill of at least the level
of instruction or unified cache closest to the processor"/>
A fixed event example:
<event counter="ARM_Cortex-A9_ccnt" title="Clock" name="Cycles"
display="hertz" units="Hz" average_selection="yes" description="The
number of core clock cycles"/>
11.2.5
L2C-310 memory-mapped peripherals
To get L2C-310 memory-mapped peripherals working with Streamline, do the following:
1.
Open the
gator_events_l2c-310.c
file located in the archive in
.../gator/driver-src
2.
Find the
init
function in
gator_events_L2C-310.c
3.
Add the following
#if
statement to the existing
#if
statements in the
init
function:
#if defined(
Your_Architecture
)
gator_events_l2c310_probe(
L2C_310_Address
);
#endif
Note
Replace
Your_Architecture
with the name of your architecture and
L2C_310_Address
with
the physical address of your L2C-310 in hexadecimal.
4.
Rebuild the gator driver.