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.
insmod gator.ko l2c310_addr=<
You can disable the l2c-310 counter by providing an offset of zero, for example:
insmod gator.ko l2c310_addr=0