On 02.03.21 14:30, Meng, Fino via Xenomai wrote: > I did some search but didn't find any detailed paper about use perf with > Xenomai, > Assume on x86_64, in theory, does perf can work on Xenomai out-of-box, > or need adapt for IPIPE and Cobalt scheduler? >
Not generally. E.g., we cannot do stack backtracing into userspace because of [1] (old kernel, but this is what I had at hand), possibly more. It should be solvable, and possibly it is solved already for dovetail, didn't check yet. Jan [1] https://source.denx.de/Xenomai/ipipe/-/blob/ipipe-4.4.y/arch/x86/lib/usercopy.c#L22 -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
