mirror of
https://github.com/torvalds/linux.git
synced 2026-05-19 12:24:11 +02: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:
|
||
|---|---|---|
| .. | ||
| cpumap.h | ||
| evlist.h | ||
| evsel.h | ||
| lib.h | ||
| mmap.h | ||
| tests.h | ||
| threadmap.h | ||
| xyarray.h | ||