diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2016-02-29 17:33:16 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2016-07-05 19:53:16 +0100 |
commit | 82e57660623c6b131632a5ec37deef3428de5399 (patch) | |
tree | 7eae417b9f3b3a645851be966813de2180781e9d /libdm/.exported_symbols.DM_1_02_129 | |
parent | 69f808ac8d25e3c7ef39bd2de66fed1efd290bbe (diff) | |
download | lvm2-82e57660623c6b131632a5ec37deef3428de5399.tar.gz |
libdm: add enum based counter and metric calls
Add a new enum based interface for accessing counter and metric
values that uses a single function for each:
uint64_t dm_stats_get_counter(const struct dm_stats *dms,
dm_stats_counter_t counter
uint64_t region_id, uint64_t area_id);
int dm_stats_get_metric(const struct dm_stats *dms, int metric,
uint64_t region_id, uint64_t area_id,
double *value);
This simplifies the implementation of value aggregation for
groups of regions. The named function interface now calls the
enum interface internally so that all new functionality is
available regardless of the method used to retrieve values.
Diffstat (limited to 'libdm/.exported_symbols.DM_1_02_129')
-rw-r--r-- | libdm/.exported_symbols.DM_1_02_129 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdm/.exported_symbols.DM_1_02_129 b/libdm/.exported_symbols.DM_1_02_129 index fbd2a57cc..83853620a 100644 --- a/libdm/.exported_symbols.DM_1_02_129 +++ b/libdm/.exported_symbols.DM_1_02_129 @@ -1 +1,3 @@ dm_bitset_parse_list +dm_stats_get_counter +dm_stats_get_metric |