prfTime can be called on the target node, so it needs to be loaded there.
Without this change, running redbug from the command line fails for me with this error:
09:32:57.749 [error] Error in process <0.845.0> on node 'foo@127.0.0.1' with exit value: {undef,[{prfTime,ts,[],[]},{prf,incr,2,[{file,"src/prf.erl"},{line,48}]},{prf,ticker_odd,0,[{file,"src/prf.erl"},{line,45}]},{prfTarg,init,0,[{file,"src/prfTarg.erl"},{line,99}]}]}
prfTime can be called on the target node, so it needs to be loaded there.
Without this change, running redbug from the command line fails for me with this error: