.. | .. |
---|
1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
---|
2 | 2 | #include "parse-events.h" |
---|
3 | 3 | #include "pmu.h" |
---|
4 | | -#include "util.h" |
---|
5 | 4 | #include "tests.h" |
---|
6 | 5 | #include <errno.h> |
---|
| 6 | +#include <stdio.h> |
---|
7 | 7 | #include <linux/kernel.h> |
---|
| 8 | +#include <linux/limits.h> |
---|
8 | 9 | |
---|
9 | 10 | /* Simulated format definitions. */ |
---|
10 | 11 | static struct test_format { |
---|
.. | .. |
---|
155 | 156 | if (ret) |
---|
156 | 157 | break; |
---|
157 | 158 | |
---|
158 | | - ret = perf_pmu__config_terms(&formats, &attr, terms, |
---|
159 | | - false, NULL); |
---|
| 159 | + ret = perf_pmu__config_terms("perf-pmu-test", &formats, &attr, |
---|
| 160 | + terms, false, NULL); |
---|
160 | 161 | if (ret) |
---|
161 | 162 | break; |
---|
162 | 163 | |
---|