Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

446 B
Raw Blame
//go:build !(linux && (amd64 || arm64))

package ebpf

import (
	"context"
	"fmt"
	"log/slog"
	"runtime"
)

type Tracer struct{}

func NewTracer(_ *slog.Logger, _ EventHandler) (*Tracer, error) {
	return nil, fmt.Errorf("%w: eBPF CUDA tracing is not supported on %s/%s (supported: linux/amd64, linux/arm64)",
		ErrUnsupported, runtime.GOOS, runtime.GOARCH)
}

func (t *Tracer) Run(_ context.Context) {}
func (t *Tracer) Close()                {}