Skip to content

Commit

Permalink
perf, ringbuf, epoll: add linux build tag
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
  • Loading branch information
lmb authored and ti-mo committed Jan 27, 2025
1 parent 8d7c47f commit ac55f31
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/epoll/poller.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build linux

package epoll

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/epoll/poller_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build linux

package epoll

import (
Expand Down
2 changes: 2 additions & 0 deletions perf/reader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build linux

package perf

import (
Expand Down
2 changes: 2 additions & 0 deletions perf/reader_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build linux

package perf

import (
Expand Down
2 changes: 2 additions & 0 deletions perf/ring.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build linux

package perf

import (
Expand Down
2 changes: 2 additions & 0 deletions perf/ring_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build linux

package perf

import (
Expand Down
2 changes: 2 additions & 0 deletions ringbuf/reader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build linux

package ringbuf

import (
Expand Down
2 changes: 2 additions & 0 deletions ringbuf/reader_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build linux

package ringbuf

import (
Expand Down
2 changes: 2 additions & 0 deletions ringbuf/ring.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build linux

package ringbuf

import (
Expand Down

0 comments on commit ac55f31

Please sign in to comment.