projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf pmu: Pass PMU rather than aliases and format
[platform/kernel/linux-starfive.git]
/
tools
/
perf
/
tests
/
pmu.c
diff --git
a/tools/perf/tests/pmu.c
b/tools/perf/tests/pmu.c
index
a4a43db
..
2c1c349
100644
(file)
--- a/
tools/perf/tests/pmu.c
+++ b/
tools/perf/tests/pmu.c
@@
-171,7
+171,7
@@
static int test__pmu(struct test_suite *test __maybe_unused, int subtest __maybe
}
pmu->name = strdup("perf-pmu-test");
- ret = perf_pmu__format_parse(
fd, &pmu->format
);
+ ret = perf_pmu__format_parse(
pmu, fd
);
if (ret)
goto out;