summaryrefslogtreecommitdiff
path: root/tools/perf/util/demangle-java.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/demangle-java.h')
-rw-r--r--tools/perf/util/demangle-java.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/util/demangle-java.h b/tools/perf/util/demangle-java.h
new file mode 100644
index 000000000000..a981c1f968fe
--- /dev/null
+++ b/tools/perf/util/demangle-java.h
@@ -0,0 +1,10 @@
+#ifndef __PERF_DEMANGLE_JAVA
+#define __PERF_DEMANGLE_JAVA 1
+/*
+ * demangle function flags
+ */
+#define JAVA_DEMANGLE_NORET 0x1 /* do not process return type */
+
+char * java_demangle_sym(const char *str, int flags);
+
+#endif /* __PERF_DEMANGLE_JAVA */