mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
cb71f7d43e
Jann Horn reported crash in perf ftrace because evlist::all_cpus isn't
initialized if there's evlist without events, which is the case for perf
ftrace.
Adding initial initialization of evlist::all_cpus from given cpus,
regardless of events in the evlist.
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 |