StatisticsCollector plugin for Likwid (prototypical implementation).
The enclosed patch must be applied to likwid to support the needed interface.

The plugin uses the "VIEW" group at the moment; it should be changed to be configurable.
Also, it should be enhanced to multiplex between different event groups, e.g. to support ENERGY and VIEW at the same time.