]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - tools/perf/config/feature-checks/test-libdw-dwarf-unwind.c
f676a3ff442a43b904adc6bd3061501de5f038d6
[karo-tx-linux.git] / tools / perf / config / feature-checks / test-libdw-dwarf-unwind.c
1
2 #include <elfutils/libdwfl.h>
3
4 int main(void)
5 {
6         /*
7          * This function is guarded via: __nonnull_attribute__ (1, 2).
8          * Passing '1' as arguments value. This code is never executed,
9          * only compiled.
10          */
11         dwfl_thread_getframes((void *) 1, (void *) 1, NULL);
12         return 0;
13 }