]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
stacktrace: Export stack_trace_save_tsk
authorChristopher James Halse Rogers <raof@ubuntu.com>
Mon, 27 Jun 2022 00:45:12 +0000 (10:45 +1000)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 12 Sep 2023 03:59:47 +0000 (23:59 -0400)
The bcachefs module wants it, and there doesn't seem to be any
reason it shouldn't be exported like the other functions.

Signed-off-by: Christopher James Halse Rogers <raof@ubuntu.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
kernel/stacktrace.c

index 9ed5ce989415566986454199cc5cebecaca27c65..4f65824879ab6107037ff0f4cb2c564798513b4e 100644 (file)
@@ -151,6 +151,7 @@ unsigned int stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store,
        put_task_stack(tsk);
        return c.len;
 }
+EXPORT_SYMBOL_GPL(stack_trace_save_tsk);
 
 /**
  * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array
@@ -301,6 +302,7 @@ unsigned int stack_trace_save_tsk(struct task_struct *task,
        save_stack_trace_tsk(task, &trace);
        return trace.nr_entries;
 }
+EXPORT_SYMBOL_GPL(stack_trace_save_tsk);
 
 /**
  * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array