summaryrefslogtreecommitdiff
path: root/tools/perf/config/feature-tests.mak
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/config/feature-tests.mak')
-rw-r--r--tools/perf/config/feature-tests.mak11
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/perf/config/feature-tests.mak b/tools/perf/config/feature-tests.mak
index 4add41b..eaeb0fd 100644
--- a/tools/perf/config/feature-tests.mak
+++ b/tools/perf/config/feature-tests.mak
@@ -203,4 +203,13 @@ int main(void)
return audit_open();
}
endef
-endif \ No newline at end of file
+endif
+
+define SOURCE_ON_EXIT
+#include <stdio.h>
+
+int main(void)
+{
+ return on_exit(NULL, NULL);
+}
+endef