On 2018-10-21, Aleksa Sarai <cyp...@cyphar.com> wrote: > However, in working on this patch, I've noticed that there appear to be > several different implementations of "get the stack trace from this > pt_regs" which all appear quite similar. Namely: > > * struct ftrace_stack;
Sorry, I made a mistake here. ftrace_stack *does* use stack_trace under the hood, and so it can be easily modified to use the saved kretprobe stack. The only issue is with perf_callchain_entry (which affects bpf_get_stack). -- Aleksa Sarai Senior Software Engineer (Containers) SUSE Linux GmbH <https://www.cyphar.com/>
signature.asc
Description: PGP signature