[erlang-questions] code path profiler

Scott Lystig Fritchie fritchie@REDACTED
Thu Oct 21 18:41:19 CEST 2010


Joel Reymont <joelr1@REDACTED> wrote:

jr> Basically, I'd like to aggregate profiling information along a given
jr> repeatable code path, rather than per process. Then, I'd like to
jr> know the variation between the time taken to server requests during
jr> benchmarking.

Joel, it might be possible to have the profile tracing based on a
sequential tracing token rather than per process, but I'm not aware of
any OTP tool that can do that out of the box.

The kernel app's 'seq_trace' module describes how it works.  There's a
short section "Advanced topics - combining with seq_trace" in the
reference for the 'dbg' app.  The 'ttb' docs also very briefly mention
sequential tracing tokens.

-Scott


More information about the erlang-questions mailing list