commit | 980fc434d28e11f0a5c1ae102a263b8c56641011 | [log] [tgz] |
---|---|---|
author | Andrei Tudor Călin <mail@acln.ro> | Sat Mar 09 06:07:21 2019 +0100 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Sat Mar 09 12:25:39 2019 +0000 |
tree | 023bfb53fa22b8d05751d3880518b410631c64fe | |
parent | 584f3b12f43e1e55248c90e84804777009eed0a4 [diff] |
unix, unix/linux: add additional Linux perf API bits 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>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.