diff options
author | Lukas Larsson <[email protected]> | 2016-05-27 09:34:25 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-05-27 09:34:25 +0200 |
commit | 3f2eea83dd133c597580d7c2b5056bc90219d025 (patch) | |
tree | f46ad339fc2b21f3bd0c1260b06e218ebd4550fb /erts/emulator/test/tracer_SUITE_data/tracer_test.c | |
parent | ea8064b1bbda0ef59420ec8a805f3ee52630d704 (diff) | |
parent | d9e0f376b36baa5453717606f373daa5b7a1b0aa (diff) | |
download | otp-3f2eea83dd133c597580d7c2b5056bc90219d025.tar.gz otp-3f2eea83dd133c597580d7c2b5056bc90219d025.tar.bz2 otp-3f2eea83dd133c597580d7c2b5056bc90219d025.zip |
Merge branch 'lukas/erts/tracing/tracer-move-extra-to-map/OTP-10267'
* lukas/erts/tracing/tracer-move-extra-to-map/OTP-10267:
runtime_tools: Fix erl_tracer testcases
runtime_tools: Fix documentation for dbg:p
erts: Move tracer SecondTraceTerm to Opts map
Diffstat (limited to 'erts/emulator/test/tracer_SUITE_data/tracer_test.c')
-rw-r--r-- | erts/emulator/test/tracer_SUITE_data/tracer_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/tracer_SUITE_data/tracer_test.c b/erts/emulator/test/tracer_SUITE_data/tracer_test.c index 908f35da9c..a26bb33600 100644 --- a/erts/emulator/test/tracer_SUITE_data/tracer_test.c +++ b/erts/emulator/test/tracer_SUITE_data/tracer_test.c @@ -36,7 +36,7 @@ static ERL_NIF_TERM trace(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]); static ErlNifFunc nif_funcs[] = { {"enabled", 3, enabled}, - {"trace", 6, trace} + {"trace", 5, trace} }; ERL_NIF_INIT(tracer_test, nif_funcs, load, NULL, upgrade, unload) @@ -100,7 +100,7 @@ static ERL_NIF_TERM trace(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]) ErlNifPid self, to; ERL_NIF_TERM *tuple, msg; const ERL_NIF_TERM *state_tuple; - ASSERT(argc == 6); + ASSERT(argc == 5); enif_get_tuple(env, argv[1], &state_arity, &state_tuple); |