About 1,760,000 results
Open links in new tab
  1. linux - How should strace be used? - Stack Overflow

    Strace can be used as a debugging tool, or as a primitive profiler. As a debugger, you can see how given system calls were called, executed and what they return.

  2. How to track child process using strace? - Stack Overflow

    I used strace to attach to a process briefly. The process created 90 threads. When I found the offending thread, I had to tediously search for the parent thread, then the grandparent thread, …

  3. system calls - How does strace work? - Stack Overflow

    Mar 31, 2011 · As Matthew said, strace uses the ptrace (2) system call to work its magic. ptrace is used to implement debuggers and other tools which need to inspect what another program is …

  4. Stracing to attach to a multi-threaded process - Stack Overflow

    Feb 4, 2013 · 46 If I want to strace a multi-threaded process (of all of its threads), how should I do it? I know that one can do strace -f to follow forked process? But how about attaching to a …

  5. Linux - How to track all files accessed by a process?

    Mar 17, 2022 · 3 strace is an amazing tool but its output is a bit verbose. If you want you can use a tool I've written which processes strace output and provide a CSV report of all files accessed …

  6. How to trace per-file IO operations in Linux? - Stack Overflow

    Mar 8, 2012 · 15 I need to track read system calls for specific files, and I'm currently doing this by parsing the output of strace. Since read operates on file descriptors I have to keep track of the …

  7. How does strace connect to an already running process?

    Sep 20, 2011 · I know that strace uses ptrace to do the job, but it needs to run the target process with TRACE_ME on, which doesn't apply in the case of an already running process. How does …

  8. Newest 'strace' Questions - Stack Overflow

    android gcc process strace 4ntoine 20.6k Oct 1 at 18:38 strace user22476690 121 linux system-calls strace 376 strace strace 13 659 futex 1,572 strace 22k strace 10.6k strace 318 glibc …

  9. Difference between ftrace and strace in Linux - Stack Overflow

    Sep 22, 2019 · both strace and ftrace seem to be used for tracing function calls in Linux. What's the difference?

  10. strace - Systrace for Windows - Stack Overflow

    I'm looking for a Windows equivalent of Systrace or at least strace. I'm aware of StraceNT, but wondering if there are any more alternatives out there. Specifically, I'm looking for a specific …