6 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
7 * Alexander Warg <warg@os.inf.tu-dresden.de>
8 * economic rights: Technische Universität Dresden (Germany)
9 * This file is part of TUD:OS and distributed under the terms of the
10 * GNU Lesser General Public License 2.1.
11 * Please see the COPYING-LGPL-2.1 file for details.
15 #include <sys/cdefs.h>
20 * \brief Fill backtrace structure.
22 * \param pc_array Array of instruction pointers.
23 * \param max_len Length of array.
24 * \return Number of entries
26 int l4util_backtrace(void **pc_array, int max_len);