d7c9625fc6
Adds support for RSMI event counters. This also includes "macro" or "pseudo" events, in which an event value is obtained from RSMI, followed by some post processing before being displayed in rdci. Aside from the support of new fields, the main update here is to introduce an initialization and "shutdown" call for new fields that will require this. Also, includes some modifications to the rdci dmon list command: * in rdc_field_data.data, added the ability to specify whether a field should be hidden or not, by default. This will allow us to support many fields, even those that are not typically of interest (but sometimes may be), without confusing the user or unnecessary clutter. * added a --list-all option which lists all available field including the more obscure fields. Change-Id: I01dd0edea963c12f82c6e44f893a390711ef3e83