M7350/kernel/tools/perf/config/feature-checks/test-libdw-dwarf-unwind.c
2024-09-09 08:57:42 +00:00

14 lines
273 B
C

#include <elfutils/libdwfl.h>
int main(void)
{
/*
* This function is guarded via: __nonnull_attribute__ (1, 2).
* Passing '1' as arguments value. This code is never executed,
* only compiled.
*/
dwfl_thread_getframes((void *) 1, (void *) 1, NULL);
return 0;
}