
Kernel 5.2 has removed the stack_trace struct and replaced print_stack_trace() and save_stack_trace_tsk() with stack_trace_print() and stack_trace_save_tsk() respectively. Add a conditional preprocessor directive to use save_trace_print() and stack_trace_save_tsk() and call them with the appropriate updated parameters. Change-Id: I99643e1b93251de7453f511d13f5a4a39c56f99c CRs-Fixed: 2559033