summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2016-07-05 12:29:13 +0100
committerBryn M. Reeves <bmr@redhat.com>2016-07-05 19:53:17 +0100
commitb926511b4b53b7240213845457dfb54649c38899 (patch)
treef774310e2f1ec95f572c3cdebfd62fdbd9098bd4
parent0b05e4a874b3398271dbbad5f5d7a72e15eadfce (diff)
downloadlvm2-b926511b4b53b7240213845457dfb54649c38899.tar.gz
dmstats: add 'statsname' and 'obj_type' to default stats fields
-rw-r--r--tools/dmsetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dmsetup.c b/tools/dmsetup.c
index c54397225..e0cade02c 100644
--- a/tools/dmsetup.c
+++ b/tools/dmsetup.c
@@ -4312,7 +4312,7 @@ static const char *splitname_report_options = "vg_name,lv_name,lv_layer";
"await,read_await,write_await"
/* Device, region and area metadata. */
-#define STATS_DEV_INFO "statsname,group_id,region_id"
+#define STATS_DEV_INFO "statsname,group_id,region_id,obj_type"
#define STATS_AREA_INFO "area_id,area_start,area_len"
#define STATS_AREA_INFO_FULL STATS_DEV_INFO ",region_start,region_len,area_count,area_id,area_start,area_len"
#define STATS_REGION_INFO STATS_DEV_INFO ",region_start,region_len,area_count,area_len"