diff options
Diffstat (limited to 'kernel/ksysfs.c')
-rw-r--r-- | kernel/ksysfs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/ksysfs.c b/kernel/ksysfs.c index 528dd78e7e7..656d28dc6bb 100644 --- a/kernel/ksysfs.c +++ b/kernel/ksysfs.c @@ -17,6 +17,8 @@ #include <linux/profile.h> #include <linux/sched.h> +#include "exit_profile.h" + #define KERNEL_ATTR_RO(_name) \ static struct kobj_attribute _name##_attr = __ATTR_RO(_name) @@ -149,6 +151,9 @@ static struct attribute * kernel_attrs[] = { &kexec_crash_loaded_attr.attr, &vmcoreinfo_attr.attr, #endif +#ifdef CONFIG_EXIT_PROFILE + &exit_profile_attr.attr, +#endif NULL }; |