Sign up ×

I want to trace a running multi-threaded process's library calls. As of 5 November 2012, there's only one way to get ltrace to fully support tracing multi-threaded processes: you must check out and compile an ltrace 0.7.0 prerelease. So I've decided to use latrace instead. But, looking at the latrace documentation, I didn't see an option to specify a PID to attach to. Which brings me to my question:

Is there any way to attach latrace to an already-running process?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It's impossible to attach latrace to a running process. The article "Using latrace" in the MeeGo 1.2 developer documentation makes it clear:

You must restart the process with latrace for the tracing to work.

Someone should send a feature request to the latrace mailing list.

share|improve this answer

Your Answer


