Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

authored by

Christopher James Halse Rogers and committed by
Kent Overstreet
7d672f40 771eb4fe

+2
+2
kernel/stacktrace.c
··· 151 151 put_task_stack(tsk); 152 152 return c.len; 153 153 } 154 + EXPORT_SYMBOL_GPL(stack_trace_save_tsk); 154 155 155 156 /** 156 157 * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array ··· 302 301 save_stack_trace_tsk(task, &trace); 303 302 return trace.nr_entries; 304 303 } 304 + EXPORT_SYMBOL_GPL(stack_trace_save_tsk); 305 305 306 306 /** 307 307 * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array