mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +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:
|
||
---|---|---|
.. | ||
Documentation | ||
include | ||
tests | ||
Build | ||
core.c | ||
cpumap.c | ||
evlist.c | ||
evsel.c | ||
internal.h | ||
lib.c | ||
libperf.map | ||
libperf.pc.template | ||
Makefile | ||
mmap.c | ||
threadmap.c | ||
xyarray.c |