mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 | ||