]> sourceware.org Git - lvm2.git/commit
dmstats: add libdm-stats library and 'dmsetup stats' command
authorBryn M. Reeves <bmr@redhat.com>
Wed, 5 Aug 2015 09:40:00 +0000 (10:40 +0100)
committerBryn M. Reeves <bmr@redhat.com>
Sun, 9 Aug 2015 13:37:58 +0000 (14:37 +0100)
commitd62a8d2f1535468c75379b877844bdb7666c8c9e
tree85e6fbf5921a2d57f96db9159ccb423e91b6a770
parentf06d866110938458ed736f927e859534c99c295e
dmstats: add libdm-stats library and 'dmsetup stats' command

Add the libdm-stats module to libdm: this implements a simple interface
for creating, managing and interrogating I/O statistics regions and
areas on device-mapper devices.

The library interface is documented in libdevmapper.h and provides a
'dm_stats' handle that is used to perform statistics operations and
obtain data.

Public methods are provided to create and destroy handles and to list,
create, and destroy statistics regions as well as to obtain and parse
counter data and calculate rate-based metrics.

This commit also adds a 'dmsetup stats' (aka 'dmstats') command with
'clear', 'create', 'delete', 'list', 'print', and 'report' sub-commands.

See the library documentation and the dmstats.8 manual page for detailed
API and command descriptions.
WHATS_NEW_DM
libdm/.exported_symbols.DM_1_02_104
libdm/Makefile.in
libdm/libdevmapper.h
libdm/libdm-stats.c [new file with mode: 0644]
man/Makefile.in
man/dmstats.8.in [new file with mode: 0644]
tools/dmsetup.c
This page took 0.039539 seconds and 5 git commands to generate.