On Thu, 9 Jan 2025 21:53:48 +0000, Ilkka Koskinen wrote:
Trying to record a trace on kernel with 64k pages resulted in -ENOMEM. This happens due to a bug in calculating the number of table pages, which returns zero. Fix the issue by rounding up.
$ perf record --kcore -e cs_etm/@tmc_etr55,cycacc,branch_broadcast/k --per-thread taskset --cpu-list 1 dd if=/dev/zero of=/dev/null failed to mmap with 12 (Cannot allocate memory)
[...]
Applied, thanks!
[1/1] coresight: catu: Fix number of pages while using 64k pages https://git.kernel.org/coresight/c/0e14e062f5ff
Best regards,