anchor.diff:                          {5.8, _} ->
                               %% R14B04
                               put(?MAGIC, dtrace),
  -                            dtrace(ArgList);
  +                            if ArgList == enabled_check -> ok;
  +                               true                     -> dtrace(ArgList)
  +                            end;
                           {Num, _} when Num > 5.8 ->
                               %% R15B or higher, though dyntrace option
                               %% was first available in R15B01.
                               put(?MAGIC, dyntrace),
  -                            dtrace(ArgList);
  +                            if ArgList == enabled_check -> ok;
  +                               true                     -> dtrace(ArgList)
  +                            end;
                           _ ->
                               put(?MAGIC, unsupported),
                               false
  
positive.code:     end.
  
  enabled() ->
      case get(?MAGIC) of
          undefined ->
              case application:get_env(riak_core, dtrace_support) of
                  {ok, true} ->
                      case string:to_float(erlang:system_info(version)) of
                          {5.8, _} ->
                              %% R14B04
                              put(?MAGIC, dtrace),
                              true;
                          {Num, _} when Num > 5.8 ->
                              %% R15B or higher, though dyntrace option
                              %% was first available in R15B01.
                              put(?MAGIC, dyntrace),
                              true;
                          _ ->
                              put(?MAGIC, unsupported),
                              false
                      end;
                  _ ->
                      put(?MAGIC, unsupported),
                      false
              end;
          dyntrace ->
              true;
          dtrace ->
              true;
          _ ->
              false
      end.
  
  put_tag(Tag) ->
      case enabled() of
  
negative.code:                     false
              end;
          dyntrace ->
              if ArgList == enabled_check -> ok;
                 true                     -> erlang:apply(dyntrace, p, ArgList)
              end;
          dtrace ->
              if ArgList == enabled_check -> ok;
                 true                     -> erlang:apply(dtrace, p, ArgList)
              end;
          _ ->
              false
      end.
  