mirror of https://gitee.com/openkylin/linux.git
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 | ||
Makefile | ||
core.c | ||
cpumap.c | ||
evlist.c | ||
evsel.c | ||
internal.h | ||
lib.c | ||
libperf.map | ||
libperf.pc.template | ||
mmap.c | ||
threadmap.c | ||
xyarray.c |