anchor.diff:  
   %% client functions
   -export([start/0, start/1, start/2, stop/0]).
  --export([get_trace/0, get_trace/1, cleanup/1]).
  +-export([get_trace/0, get_trace/1, cleanup/0, cleanup/1]).
   
   %% trace analysis
   -export([send_histogram/1]).
  
positive.code: %% @version $Id$
  -module(trace_mpath).
  -author('schintke@zib.de').
  -vsn('$Id$').
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %%
  %% 1. call trace_mpath:start(your_trace_id)
  %% 2. perform a request like api_tx:read("a")
  %% 3. call trace_mpath:stop(your_trace_id)
  %% 4. call trace_mpath:get_trace(your_trace_id) to retrieve the trace,
  %%    when you think everything is recorded
  %% 5. call trace_mpath:cleanup(your_trace_id) to free the memory
  
negative.code:     receive
          ?SCALARIS_RECV({get_trace_reply, Log}, Log)
      end.
  
  -spec cleanup() -> ok.
  cleanup() -> cleanup(default).
  
  -spec cleanup(trace_id()) -> ok.
  cleanup(TraceId) ->
  