Merge tag 'for-5.4/io_uring-2019-09-15' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / tools / perf / util / metricgroup.h
index 500e828..475c7f9 100644 (file)
@@ -1,11 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0-only
 #ifndef METRICGROUP_H
 #define METRICGROUP_H 1
 
-#include "linux/list.h"
-#include "rblist.h"
-#include <subcmd/parse-options.h>
-#include "evlist.h"
-#include "strbuf.h"
+#include <linux/list.h>
+#include <linux/rbtree.h>
+#include <stdbool.h>
+
+struct evsel;
+struct option;
+struct rblist;
 
 struct metric_event {
        struct rb_node nd;
@@ -17,6 +20,7 @@ struct metric_expr {
        struct list_head nd;
        const char *metric_expr;
        const char *metric_name;
+       const char *metric_unit;
        struct evsel **metric_events;
 };