Permalink
Browse files

Naively handle end_of_trace msg.

  • Loading branch information...
1 parent 49e5d40 commit a78a00bf18ab502a265a83b27f8b499228360830 Knut Nesheim committed Jan 20, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/kprof_tracer.erl
View
@@ -20,7 +20,8 @@ mk_tracer(EntryPoint, RequestTarget) ->
request_target = RequestTarget, entrypoint = EntryPoint},
{fun ?MODULE:trace_handler/2, S}.
-
+trace_handler(end_of_trace, S) ->
+ S;
trace_handler(Msg, S) ->
case is_call(Msg) of
true ->

0 comments on commit a78a00b

Please sign in to comment.