Skip to content

Add support for rh_flags to kernel-ark

Ricardo Robaina requested to merge rrobaina/kernel-ark:rh-flags-port into os-build

JIRA: https://issues.redhat.com/browse/RHEL-32987

rh_flags is a mechanism that allows tracking usage of specific kernel features.
The list of used features is accessible via procfs and is printed in panic
messages. It's meant to provide better customer support making possible for
support engineers to be able to see what specific features were used and steer
the support accordingly.

Ricardo Robaina (6):
add support for rh_features
add rh_features to /proc
rh_features: convert to atomic allocation
rh_features: move rh_features entry to sys/kernel
kernel: rh_features: fix reading empty feature list from /proc
rh_flags: Rename rh_features to rh_flags

include/linux/rh_flags.h | 34 ++++++++++++
kernel/Makefile | 2 +-
kernel/module/main.c | 6 ++
kernel/rh_flags.c | 116 +++++++++++++++++++++++++++++++++++++++
4 files changed, 157 insertions(+), 1 deletion(-)
create mode 100644 include/linux/rh_flags.h
create mode 100644 kernel/rh_flags.c

Signed-off-by: Ricardo Robaina rrobaina@redhat.com

Edited by Ricardo Robaina

Merge request reports