anchor.diff:  -module(eflame2).
  --export([write_trace/6]).
  +-export([write_trace/6, write_trace_backtrace/6]).
   -compile(export_all). %% SLF debugging
   
   -record(state, {
  
positive.code: 
  trace_flags(not_running) ->
      [call, arity, return_to, timestamp];
  trace_flags(normal) ->%%%%%%%%%%%%%%%%%%%%%%%% YEAH
      [call, arity, return_to, timestamp, running];
  trace_flags(normal_with_children) ->
      [call, arity, return_to, timestamp, running, set_on_spawn];
  trace_flags(like_fprof) -> % fprof does this as 'normal', will not work!
      [call, arity, return_to, timestamp, running, set_on_spawn, garbage_collection].
  
  entry_to_iolist({M, F, A}) ->
      [atom_to_binary(M, utf8), <<":">>, atom_to_binary(F, utf8), <<"/">>, integer_to_list(A)];
  
negative.code: 
  %% See 'Example usage' section of ../README.md
  
  
  %% NOTE: Mode::pidspec() = custom_trace_flags() |
  %%                         pid() | [pid()] | existing | new | all
  %%  custom_trace_flags() = [custom_trace_flag()]
  %%   custom_trace_flag() = 'global_calls_only'.
  
  write_trace(Mode, IntermediateFile, PidSpec, M, F, A) ->
      write_trace2(normal, Mode, IntermediateFile, PidSpec, M, F, A).
  