123456789101112131415161718 |
- // Copyright (c) 2019 Wijnand Modderman-Lenstra. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
- package bpf
-
- import (
- "fmt"
- "os"
- )
-
- var debug = os.Getenv("BPF_VM_DEBUG") != ""
-
- func debugf(format string, v ...interface{}) {
- if debug {
- fmt.Fprintf(os.Stderr, format, v...)
- }
- }
|