mirror of
https://github.com/golang/sys.git
synced 2026-02-08 19:56:04 +03:00
unix: define PerfBitWriteBackward
This bit, introduced in kernel 4.7, is used to indicate a perf ring buffer will be written backward [1]. This is mainly used for overwritable perf ring buffer. Suggested-by: Lorenz Bauer <lmb@isovalent.com> Signed-off-by: Francis Laniel <flaniel@microsoft.com> [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9ecda41acb97
This commit is contained in:
@@ -1115,6 +1115,7 @@ const (
|
||||
PerfBitCommExec = CBitFieldMaskBit24
|
||||
PerfBitUseClockID = CBitFieldMaskBit25
|
||||
PerfBitContextSwitch = CBitFieldMaskBit26
|
||||
PerfBitWriteBackward = CBitFieldMaskBit27
|
||||
)
|
||||
|
||||
// generated by:
|
||||
|
||||
@@ -1067,6 +1067,7 @@ const (
|
||||
PerfBitCommExec = CBitFieldMaskBit24
|
||||
PerfBitUseClockID = CBitFieldMaskBit25
|
||||
PerfBitContextSwitch = CBitFieldMaskBit26
|
||||
PerfBitWriteBackward = CBitFieldMaskBit27
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user