Skip to content

Commit

Permalink
Fix the bad command parameter of bpf2go (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsint authored Nov 8, 2024
1 parent 57649f6 commit 6f29aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/profiling/task/oncpu/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import (

// $BPF_CLANG and $BPF_CFLAGS are set by the Makefile.
// nolint
//go:generate go run github.com/cilium/ebpf/cmd/bpf2go -no-global-types -target bpfel -cc $BPF_CLANG -cflags $BPF_CFLAGS bpf $REPO_ROOT/bpf/profiling/oncpu.c -- -I$REPO_ROOT/bpf/include
//go:generate go run github.com/cilium/ebpf/cmd/bpf2go -no-global-types -target $TARGET -cc $BPF_CLANG -cflags $BPF_CFLAGS bpf $REPO_ROOT/bpf/profiling/oncpu.c -- -I$REPO_ROOT/bpf/include

var log = logger.GetLogger("profiling", "task", "oncpu")

Expand Down

0 comments on commit 6f29aaa

Please sign in to comment.