Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of correct federate ID in tracing of absent messages #248

Merged
merged 3 commits into from
Jul 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix wrong fed id in tracing absent messages
ChadliaJerad committed Jul 5, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 05a8636d1da12c06a3822c8fdd0024434f59fccc
2 changes: 1 addition & 1 deletion core/federated/RTI/rti_lib.c
Original file line number Diff line number Diff line change
@@ -306,7 +306,7 @@ void handle_port_absent_message(federate_t* sending_federate, unsigned char* buf
tag_t tag = extract_tag(&(buffer[1 + 2 * sizeof(uint16_t)]));

if (_f_rti->tracing_enabled) {
tracepoint_rti_from_federate(_f_rti->trace, receive_PORT_ABS, federate_id, &tag);
tracepoint_rti_from_federate(_f_rti->trace, receive_PORT_ABS, sending_federate, &tag);
}

// Need to acquire the mutex lock to ensure that the thread handling