projects
/
linux-2.6-microblaze.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livep...
[linux-2.6-microblaze.git]
/
tools
/
build
/
feature
/
test-backtrace.c
1
#include <execinfo.h>
2
#include <stdio.h>
3
4
int main(void)
5
{
6
void *backtrace_fns[10];
7
size_t entries;
8
9
entries = backtrace(backtrace_fns, 10);
10
backtrace_symbols_fd(backtrace_fns, entries, 1);
11
12
return 0;
13
}