Merge remote-tracking branch 'torvalds/master' into perf/core
[sfrench/cifs-2.6.git] / tools / perf / tests / pmu-events.c
index 3c2ee55e75c7898127edeb48cab07c30c35cdebe..e36d8b1610d4f9725d0e0d697188b39436a4b12a 100644 (file)
@@ -12,6 +12,7 @@
 #include <perf/evlist.h>
 #include "util/evlist.h"
 #include "util/expr.h"
+#include "util/hashmap.h"
 #include "util/parse-events.h"
 #include "metricgroup.h"
 #include "stat.h"
@@ -889,7 +890,7 @@ static int test__parsing_callback(const struct pmu_event *pe, const struct pmu_e
                goto out_err;
        }
 
-       err = evlist__alloc_stats(evlist, false);
+       err = evlist__alloc_stats(/*config=*/NULL, evlist, /*alloc_raw=*/false);
        if (err)
                goto out_err;
        /*