diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-05-02 17:36:33 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-05-02 17:46:42 +0200 |
commit | 74eafcdaff43d7d84264110066c52fa01e65f159 (patch) | |
tree | f6472be85e2e38b37edc8e27a3c435233c0fb509 /erts/emulator/beam | |
parent | ab9c1f0412bd0d5a018f04cd22c08cac3e1f2612 (diff) | |
download | otp-74eafcdaff43d7d84264110066c52fa01e65f159.tar.gz otp-74eafcdaff43d7d84264110066c52fa01e65f159.tar.bz2 otp-74eafcdaff43d7d84264110066c52fa01e65f159.zip |
erts: Change argument order for LTTng driver_stop
* Be consistent.
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/erlang_lttng.h | 6 | ||||
-rw-r--r-- | erts/emulator/beam/io.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/erlang_lttng.h b/erts/emulator/beam/erlang_lttng.h index 43ceeda671..f7d751252d 100644 --- a/erts/emulator/beam/erlang_lttng.h +++ b/erts/emulator/beam/erlang_lttng.h @@ -218,13 +218,13 @@ TRACEPOINT_EVENT( driver_stop, TP_ARGS( char*, pid, - char*, driver, - char*, port + char*, port, + char*, driver ), TP_FIELDS( ctf_string(pid, pid) - ctf_string(driver, driver) ctf_string(port, port) + ctf_string(driver, driver) ) ) diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c index b14ca77a04..5c2595c69d 100644 --- a/erts/emulator/beam/io.c +++ b/erts/emulator/beam/io.c @@ -3861,7 +3861,7 @@ terminate_port(Port *prt) lttng_decl_procbuf(proc_str); lttng_pid_to_str(connected_id, proc_str); lttng_port_to_str(prt, port_str); - LTTNG3(driver_stop, proc_str, drv->name, port_str); + LTTNG3(driver_stop, proc_str, port_str, drv->name); } #endif |