mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-12 08:45:11 +08:00
30d1c4d947
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 |