summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/test-bionic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/config/feature-checks/test-bionic.c')
-rw-r--r--tools/perf/config/feature-checks/test-bionic.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/test-bionic.c b/tools/perf/config/feature-checks/test-bionic.c
new file mode 100644
index 000000000000..eac24e9513eb
--- /dev/null
+++ b/tools/perf/config/feature-checks/test-bionic.c
@@ -0,0 +1,6 @@
+#include <android/api-level.h>
+
+int main(void)
+{
+ return __ANDROID_API__;
+}
OpenPOWER on IntegriCloud