]> xenbits.xensource.com Git - xen.git/commit
xen/credit2: Remove tail padding from TRC_CSCHED2_* records
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 15 Sep 2021 16:01:43 +0000 (17:01 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 24 Mar 2023 15:35:37 +0000 (15:35 +0000)
commit2992f4dcd5e981360cef3fe0e7aef670d5e02eb9
tree5b92d2cef7b94f22238a2b70194135cffe917471
parent83af664db3366d9c3047abd67655dce1796d005c
xen/credit2: Remove tail padding from TRC_CSCHED2_* records

All three of these records have tail padding, leaking stack rubble into the
trace buffer.  Introduce an explicit _pad field and have the compiler zero the
padding automatically.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Dario Faggioli <dfaggioli@suse.com>
xen/common/sched/credit2.c