Re: [PATCH 01/21] tools lib: Add list_sort.

From: Andi Kleen
Date: Thu Oct 07 2021 - 21:08:35 EST



On 10/7/2021 9:56 AM, Ian Rogers wrote:
Add list_sort.[ch] from the main kernel tree. The linux/bug.h #include
is removed due to conflicting definitions. Add check-headers and modify
perf build accordingly.


It would be nicer if we could share the kernel files somehow, but I guess it might be a long term maintenance issue if the kernel version does changes that make it incompatible with the user build.


-Andi