Skip to content

Instantly share code, notes, and snippets.

@ksauzz
Last active December 15, 2015 11:19
Show Gist options
  • Select an option

  • Save ksauzz/5252366 to your computer and use it in GitHub Desktop.

Select an option

Save ksauzz/5252366 to your computer and use it in GitHub Desktop.
Eper

sample

  • timeout(sec) : 5
  • message count: 2
([email protected])14> redbug:start(5000, 2, {riak_kv_keys_fsm,'_'}).
ok

16:23:32 <{riak_core_coverage_fsm,init,1}> {riak_kv_keys_fsm,init,
                                            [{raw,24993903,<0.2350.0>},
                                             [<<"demo">>,none,480000]]}

16:23:32 <{riak_core_coverage_fsm,init,1}> {riak_kv_keys_fsm,dtrace_int,
                                            [545,
                                             [2,0],
                                             [<<"other">>,"[email protected]",
                                              "<0.2350.0>"]]}
quitting: msg_count
([email protected])15> redbug:start(5000, 2, {riak_kv_keys_fsm,'_',[return,stack]}).
ok

16:23:36 <{riak_core_coverage_fsm,init,1}> {riak_kv_keys_fsm,init,
                                            [{raw,67447457,<0.2520.0>},
                                             [<<"demo">>,none,480000]]}
  "proc_lib:init_p_do_apply/3 "
  "gen_fsm:init_it/6 "


sample with return value and stack

16:23:36 <{riak_core_coverage_fsm,init,1}> {riak_kv_keys_fsm,dtrace_int,
                                            [545,
                                             [2,0],
                                             [<<"other">>,"[email protected]",
                                              "<0.2520.0>"]]}
  "proc_lib:init_p_do_apply/3 "
  "gen_fsm:init_it/6 "
  "riak_core_coverage_fsm:init/1 "
  "riak_kv_keys_fsm:init/2 "
  "unknown function"
quitting: msg_count
([email protected])16>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment