summaryrefslogtreecommitdiffstats
path: root/rules/latrace.in
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2016-12-01 09:22:57 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-12-01 11:12:35 +0100
commitb8925a2e2cfac47d30053212002eb8243f04b48f (patch)
treefd8962c68f05b74be94b9c4ab7e9647af73389cf /rules/latrace.in
parent37e15a789530a9272c411ec084542dd3a69ead18 (diff)
downloadptxdist-b8925a2e2cfac47d30053212002eb8243f04b48f.tar.gz
ptxdist-b8925a2e2cfac47d30053212002eb8243f04b48f.tar.xz
latrace: provide demangling support
To support demangeling, latrace requires libiberty. Demangeling is requiered for C++ only (AFAIR), so let it be an option. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/latrace.in')
-rw-r--r--rules/latrace.in17
1 files changed, 15 insertions, 2 deletions
diff --git a/rules/latrace.in b/rules/latrace.in
index 8aa6ae9fc..4ee5265da 100644
--- a/rules/latrace.in
+++ b/rules/latrace.in
@@ -1,8 +1,21 @@
## SECTION=debug_tools
-config LATRACE
+menuconfig LATRACE
tristate
- prompt "latrace"
+ prompt "latrace "
+ select BINUTILS if LATRACE_DEMANGLE
help
A tool to trace library calls and get their statistics in a
manner similar to the strace utility
+
+if LATRACE
+
+config LATRACE_DEMANGLE
+ bool
+ prompt "demangle supprt"
+ default y
+ help
+ Enable support for the demangle feature, required to trace C++ libraries
+ for example.
+
+endif