Files
foc/l4/pkg/l4util/include/backtrace.h
2013-01-11 17:00:47 +01:00

29 lines
681 B
C

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