1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * s390x stack implementation 4 * 5 * Copyright (c) 2017 Red Hat Inc 6 * 7 * Authors: 8 * Thomas Huth <thuth@redhat.com> 9 * David Hildenbrand <david@redhat.com> 10 */ 11 #include <libcflat.h> 12 #include <stack.h> 13 14 int backtrace_frame(const void *frame, const void **return_addrs, int max_depth) 15 { 16 printf("TODO: Implement backtrace_frame(%p, %p, %d) function!\n", 17 frame, return_addrs, max_depth); 18 return 0; 19 } 20 21 int backtrace(const void **return_addrs, int max_depth) 22 { 23 printf("TODO: Implement backtrace(%p, %d) function!\n", 24 return_addrs, max_depth); 25 return 0; 26 } 27