Loading
perf test: Add parse-events test for aliases with hyphens
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAMH2B CVE: NA ---------------------------------------------------------------------- Add a test which allows us to test parsing an event alias with hyphens. Since these events typically do not exist on most host systems, add the alias to the fake pmu. Function perf_pmu__test_parse_init() has terms added to match known test aliases. Fixes: 231bb2aa ("perf pmu: Support event aliases for non cpu//pmus") Signed-off-by:John Garry <john.garry@huawei.com> Signed-off-by:
zhangqz <14294317+zwx1160575@user.noreply.gitee.com>