summaryrefslogtreecommitdiff
path: root/kernel/stacktrace.c
diff options
context:
space:
mode:
authorChristopher James Halse Rogers <raof@ubuntu.com>2022-06-27 10:45:12 +1000
committerKent Overstreet <kent.overstreet@linux.dev>2023-03-13 11:32:28 -0400
commitca731648199188f8447adf3b0cd54a9d82740aba (patch)
tree6097760873b9b3cd89edd8b2eadd50f2497b9e89 /kernel/stacktrace.c
parentb98d3367d84fcd7c6fcec7904a5952fd07fb7b08 (diff)
stacktrace: Export stack_trace_save_tsk
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>
Diffstat (limited to 'kernel/stacktrace.c')
-rw-r--r--kernel/stacktrace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/stacktrace.c b/kernel/stacktrace.c
index 9ed5ce989415..4f65824879ab 100644
--- a/kernel/stacktrace.c
+++ b/kernel/stacktrace.c
@@ -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