Skip to content

Commit 43383aa

Browse files
author
Francis Laniel
committed
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 <[email protected]> Signed-off-by: Francis Laniel <[email protected]> [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9ecda41acb97
1 parent a6bfb89 commit 43383aa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

unix/linux/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,6 +1115,7 @@ const (
11151115
PerfBitCommExec = CBitFieldMaskBit24
11161116
PerfBitUseClockID = CBitFieldMaskBit25
11171117
PerfBitContextSwitch = CBitFieldMaskBit26
1118+
PerfBitWriteBackward = CBitFieldMaskBit27
11181119
)
11191120

11201121
// generated by:

unix/ztypes_linux.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)