From 15230bbb9b1f69def9b0e1b41a097638c0fda734 Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 28 Apr 2020 09:11:18 +0000 Subject: deploy: fef4d6ff2ad9f48e6dccde0f061453e6a3ac624e --- trace_profile/ltrace.html | 231 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 trace_profile/ltrace.html (limited to 'trace_profile/ltrace.html') diff --git a/trace_profile/ltrace.html b/trace_profile/ltrace.html new file mode 100644 index 0000000..18d547c --- /dev/null +++ b/trace_profile/ltrace.html @@ -0,0 +1,231 @@ + + + + + + ltrace - Notes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + +
+
+

ltrace(1)

+
ltrace [opts] [prg]
+  -f .......... follow child processes on fork(2)
+  -p <pid> .... attach to running process
+  -o <file> ... log output into <file>
+  -l <filter> . show who calls into lib matched by <filter>
+  -C .......... demangle
+
+

Example

+

List which program/libs call into libstdc++:

+
ltrace -l '*libstdc++*' -C -o ltrace.log ./main
+
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3