mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
Moving feature checks code under tools/build directory. Changing also $feature_dir to point to new feature directory location and perf Makefiles to include Makefile.feature from new location. Signed-off-by: Jiri Olsa <[email protected]> Cc: Corey Ashford <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
14 lines
273 B
C
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;
|
|
}
|