mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
Add sample_max_stack field to struct perf_event_attr. Add the missing PERF_FLAG_FD_CLOEXEC flag, the missing PERF_COUNT_SW_BPF_OUTPUT constant, missing PERF_RECORD_* constants, and missing PERF_SAMPLE_BRANCH_* constants. Change-Id: I44c5e37ff36420b35e56c97e7fc190cd0af95e21 Reviewed-on: https://go-review.googlesource.com/c/sys/+/166457 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>