mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2026-01-27 12:47:24 +01:00
[ Upstream commit a0a4173631bfcfd3520192c0a61cf911d6a52c3a ] Passing an empty map to perf_cpu_map__max triggered a SEGV. Explicitly test for the empty map. Reported-by: Ingo Molnar <mingo@kernel.org> Closes: https://lore.kernel.org/linux-perf-users/aSwt7yzFjVJCEmVp@gmail.com/ Tested-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: Thomas Richter <tmricht@linux.ibm.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
|---|---|---|
| .. | ||
| Documentation | ||
| include | ||
| tests | ||
| .gitignore | ||
| 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 | ||