Error when using function in recon_trace.calls

You need to match on a list of argument in your match func. Similar to how you would specify a list in a MFA tuple.


edit

Back at a computer rather than a mobile:

:recon_trace.calls({:system_information, :handle_info, fn [{_ref, :badarg}, _state]) -> :ok end}, 10)

This might work…