Re: [PATCH 06/19] perf: Simplify perf_pmu_register()

From: Sidhartha Kumar
Date: Tue Mar 25 2025 - 15:48:31 EST


Hello,

The inclusion of #include <linux/cleanup.h> in include/linux/idr.h breaks building the userspace radix-tree test suite with:

In file included from ../shared/linux/idr.h:1,
from radix-tree.c:18:
../shared/linux/../../../../include/linux/idr.h:18:10: fatal error: linux/cleanup.h: No such file or directory
18 | #include <linux/cleanup.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.


Thanks,
Sid