On Tue 2024-10-08 09:48:56, Wardenjohn wrote:
> Add "stack_order" sysfs attribute which holds the order in which a live
> patch module was loaded into the system. A user can then determine an
> active live patched version of a function.
> 
> cat /sys/kernel/livepatch/livepatch_1/stack_order -> 1
> 
> means that livepatch_1 is the first live patch applied
> 
> cat /sys/kernel/livepatch/livepatch_module/stack_order -> N
> 
> means that livepatch_module is the Nth live patch applied
> 
> Suggested-by: Petr Mladek <pmla...@suse.com>
> Suggested-by: Miroslav Benes <mbe...@suse.cz>
> Suggested-by: Josh Poimboeuf <jpoim...@kernel.org>
> Signed-off-by: Wardenjohn <zhangwar...@gmail.com>

JFYI, the patch has been comitted into livepatching.git,
branch for-6.14/stack-order.

Note that I have updated the version in the ABI
documentation to 6.14.

Best Regards,
Petr

Reply via email to