[LTP] [PATCH 1/1] README: Mention -f param for strace

Petr Vorel pvorel@suse.cz
Mon Jan 29 18:46:47 CET 2024


Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi,

probably obvious, but it does not harm to mention it.
Hopefully users will find it.

Kind regards,
Petr

 README.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 6147c5f6f..abbea8f4f 100644
--- a/README.md
+++ b/README.md
@@ -215,12 +215,13 @@ SUSE also publishes a
 [smaller LTP container](https://registry.opensuse.org/cgi-bin/cooverview?srch_term=project%3D%5Ebenchmark+container%3D.*)
 that is not based on the Containerfile.
 
-Debugging with gdb
-==================
+Debugging with gdb and strace
+=============================
 
 The new test library runs the actual test, i.e. the `test()` function in a
 forked process. To get stack trace of a crashing test in gdb it's needed to
 [`set follow-fork-mode child`](https://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_25.html).
+To trace test with strace use `-f`.
 
 Developers corner
 =================
-- 
2.43.0



More information about the ltp mailing list