11.10 Getting L2C-310 memory-mapped peripherals working with Streamline

The gator driver source provides a file, gator_events_l2c-310.c, which contains hard coded offsets for the locations of the L2 cache counter registers. You can configure the offset for your board by specifying a module parameter when loading gator.ko.

For example:
insmod gator.ko l2c310_addr=<offset>
You can disable the l2c-310 counter by providing an offset of zero, for example:
insmod gator.ko l2c310_addr=0
Related tasks
1.8 Building the gator module
Non-ConfidentialPDF file icon PDF versionARM DUI0482V
Copyright © 2010-2016 ARM. All rights reserved.