diff --git a/unix/linux/types.go b/unix/linux/types.go index aa0ce02b..9a39c352 100644 --- a/unix/linux/types.go +++ b/unix/linux/types.go @@ -402,6 +402,10 @@ struct perf_event_attr_go { __u32 aux_watermark; __u16 sample_max_stack; __u16 __reserved_2; + __u32 aux_sample_size; + __u32 __reserved_3; + + __u64 sig_data; }; // ustat is deprecated and glibc 2.28 removed ustat.h. Provide the type here for diff --git a/unix/ztypes_linux.go b/unix/ztypes_linux.go index 86984798..f6de1eed 100644 --- a/unix/ztypes_linux.go +++ b/unix/ztypes_linux.go @@ -945,6 +945,9 @@ type PerfEventAttr struct { Aux_watermark uint32 Sample_max_stack uint16 _ uint16 + Aux_sample_size uint32 + _ uint32 + Sig_data uint64 } type PerfEventMmapPage struct {