perf stat: Add AGGR_UNSET mode
[firefly-linux-kernel-4.4.55.git] / tools / perf / util / stat.h
index 62448c8175d3de587eb6b9546df7bc4088b2bfa1..da1d11c4f8c193cff476fec76868277b12f7c623 100644 (file)
@@ -20,7 +20,7 @@ enum perf_stat_evsel_id {
        PERF_STAT_EVSEL_ID__MAX,
 };
 
-struct perf_stat {
+struct perf_stat_evsel {
        struct stats            res_stats[3];
        enum perf_stat_evsel_id id;
 };
@@ -31,6 +31,7 @@ enum aggr_mode {
        AGGR_SOCKET,
        AGGR_CORE,
        AGGR_THREAD,
+       AGGR_UNSET,
 };
 
 struct perf_stat_config {