* [ptxdist] [PATCH] latrace: provide demangling support
@ 2016-12-01 8:22 Juergen Borleis
0 siblings, 0 replies; only message in thread
From: Juergen Borleis @ 2016-12-01 8:22 UTC (permalink / raw)
To: ptxdist
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>
---
rules/latrace.in | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/rules/latrace.in b/rules/latrace.in
index 8aa6ae9..4ee5265 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
--
2.10.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-12-01 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-01 8:22 [ptxdist] [PATCH] latrace: provide demangling support Juergen Borleis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox