Consolidate data source calls in 1, mockable, module.
[beam_stats.git] / src / beam_stats_process.erl
index ab6d1c2..e2751ea 100644 (file)
@@ -119,7 +119,7 @@ pid_info_exn(Pid, Key) ->
     Value.
 
 pid_info_opt(Pid, Key) ->
-    case {Key, erlang:process_info(Pid, Key)}
+    case {Key, beam_stats_source:erlang_process_info(Pid, Key)}
     of  {registered_name, []}           -> none
     ;   {_              , {Key, Value}} -> {some, Value}
     end.
This page took 0.026051 seconds and 4 git commands to generate.