aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/test-cplus-demangle.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2013-10-02 13:15:09 +0000
committerIngo Molnar <[email protected]>2013-10-09 06:48:56 +0000
commit1c47661a93fe6f729c80ed18a1f9ab1c7fb0cac2 (patch)
tree66530903cf67cc5404ab517aee1d3a75db448342 /tools/perf/config/feature-checks/test-cplus-demangle.c
parenttools/perf/build: Standardize the various messages output by parallel make (diff)
downloadkernel-1c47661a93fe6f729c80ed18a1f9ab1c7fb0cac2.tar.gz
kernel-1c47661a93fe6f729c80ed18a1f9ab1c7fb0cac2.zip
tools/perf/build: Split out feature checks: 'liberty', 'liberty-z', 'cplus-demangle'
Note that these are rarely executed tests, so we call feature_check() explicitly and don't have them in CORE_FEATURE_CHECKS. Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/config/feature-checks/test-cplus-demangle.c')
-rw-r--r--tools/perf/config/feature-checks/test-cplus-demangle.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/test-cplus-demangle.c b/tools/perf/config/feature-checks/test-cplus-demangle.c
new file mode 100644
index 000000000000..5202f5038ad8
--- /dev/null
+++ b/tools/perf/config/feature-checks/test-cplus-demangle.c
@@ -0,0 +1,10 @@
+
+extern char *cplus_demangle(const char *, int);
+
+int main(void)
+{
+ cplus_demangle(0, 0);
+
+ return 0;
+}
+