summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-backtrace.c
blob: 7124aa1dc8fb77d5fe1adae0cc4a0dcaff2ff3a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <execinfo.h>
#include <stdio.h>

int main(void)
{
	void *backtrace_fns[10];
	size_t entries;

	entries = backtrace(backtrace_fns, 10);
	backtrace_symbols_fd(backtrace_fns, entries, 1);

	return 0;
}
>Helge Deller <deller@gmx.de>2017-01-03 22:55:50 +0100 committerHelge Deller <deller@gmx.de>2017-01-28 21:54:21 +0100 commit83b5d1e3d3013dbf90645a5d07179d018c8243fa (patch) tree831d7125df83a827408def371df72b1360e94078 /include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h parentd56a5ca366e785f463b4782f65daac883612a2b2 (diff)
parisc, parport_gsc: Fixes for printk continuation lines
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h')