diff options
Diffstat (limited to '')
-rw-r--r-- | tools/perf/util/demangle-cxx.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/perf/util/demangle-cxx.h b/tools/perf/util/demangle-cxx.h new file mode 100644 index 000000000000..9359937a881a --- /dev/null +++ b/tools/perf/util/demangle-cxx.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PERF_DEMANGLE_CXX +#define __PERF_DEMANGLE_CXX 1 + +#include <stdbool.h> + +#ifdef __cplusplus +extern "C" { +#endif + +char *cxx_demangle_sym(const char *str, bool params, bool modifiers); + +#ifdef __cplusplus +} +#endif + + +#endif /* __PERF_DEMANGLE_CXX */ |