mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
Fix issues when using PerfEventOpen() with PERF_ATTR_SIZE_VER6 or PERF_ATTR_SIZE_VER7 by updating struct perf_event_attr_go to include aux_sample_size and sig_data. Change-Id: I0192d59006ed6c67b19a448b797bf49894a24f72 Reviewed-on: https://go-review.googlesource.com/c/sys/+/420294 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Than McIntosh <thanm@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>