mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-23 11:43:22 +00:00
Tzvetomir Stoyanov reported an issue with using macro
perf_cpu_map__for_each_cpu using private perf_cpu object.
The issue is caused by recent change that wrapped cpu in struct perf_cpu
to distinguish it from cpu indexes. We need to make struct perf_cpu
public.
Add a simple test for using the perf_cpu_map__for_each_cpu macro.
Fixes:
|
||
|---|---|---|
| .. | ||
| Build | ||
| main.c | ||
| test-cpumap.c | ||
| test-evlist.c | ||
| test-evsel.c | ||
| test-threadmap.c | ||
| tests.h | ||