From 05a8636d1da12c06a3822c8fdd0024434f59fccc Mon Sep 17 00:00:00 2001 From: ChadliaJerad Date: Wed, 5 Jul 2023 15:13:13 -0700 Subject: [PATCH 1/3] Fix wrong fed id in tracing absent messages --- core/federated/RTI/rti_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/federated/RTI/rti_lib.c b/core/federated/RTI/rti_lib.c index 80d1a7585..252c35d00 100644 --- a/core/federated/RTI/rti_lib.c +++ b/core/federated/RTI/rti_lib.c @@ -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 From dc1728e0360f4d502f8fdf04b0cfb1c319a03d54 Mon Sep 17 00:00:00 2001 From: ChadliaJerad Date: Wed, 5 Jul 2023 15:18:01 -0700 Subject: [PATCH 2/3] Access the id, not the federate --- core/federated/RTI/rti_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/federated/RTI/rti_lib.c b/core/federated/RTI/rti_lib.c index 252c35d00..cf1300e28 100644 --- a/core/federated/RTI/rti_lib.c +++ b/core/federated/RTI/rti_lib.c @@ -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, sending_federate, &tag); + tracepoint_rti_from_federate(_f_rti->trace, receive_PORT_ABS, sending_federate->enclave.id, &tag); } // Need to acquire the mutex lock to ensure that the thread handling From 64c04e1e96aa7e621abd3bc91836eef97db685d3 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Thu, 6 Jul 2023 11:01:25 -0700 Subject: [PATCH 3/3] Update lingua-franca-ref.txt --- lingua-franca-ref.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lingua-franca-ref.txt b/lingua-franca-ref.txt index f5d2bf721..1f7391f92 100644 --- a/lingua-franca-ref.txt +++ b/lingua-franca-ref.txt @@ -1 +1 @@ -9acca40d53151aa79a5679ed1fcc675f3afb2e45 \ No newline at end of file +master