summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/test-libnuma.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/config/feature-checks/test-libnuma.c')
-rw-r--r--tools/perf/config/feature-checks/test-libnuma.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/test-libnuma.c b/tools/perf/config/feature-checks/test-libnuma.c
new file mode 100644
index 000000000000..4763d9cd587d
--- /dev/null
+++ b/tools/perf/config/feature-checks/test-libnuma.c
@@ -0,0 +1,9 @@
+#include <numa.h>
+#include <numaif.h>
+
+int main(void)
+{
+ numa_available();
+
+ return 0;
+}