MINOR: quic: Add a trace to quic_release_frm()
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 29 Aug 2023 12:34:03 +0000 (14:34 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 4 Sep 2023 09:29:35 +0000 (11:29 +0200)
Display the address of the frame to be released as soon as entering into
quic_release_frm() whose job is obviously to released the memory allocated
for the frame <frm> passed as parameter.

src/quic_frame.c

index f918cbd..b48e878 100644 (file)
@@ -1232,7 +1232,7 @@ void qc_release_frm(struct quic_conn *qc, struct quic_frame *frm)
        uint64_t pn;
        struct quic_frame *origin, *f, *tmp;
 
-       TRACE_ENTER(QUIC_EV_CONN_PRSAFRM, qc);
+       TRACE_ENTER(QUIC_EV_CONN_PRSAFRM, qc, frm);
 
        /* Identify this frame: a frame copy or one of its copies */
        origin = frm->origin ? frm->origin : frm;