github.com/dylandreimerink/gobpfld@v0.6.1-0.20220205171531-e79c330ad608/cmd/examples/per_cpu_map/bpf/compile.sh (about)

     1  #!/bin/bash
     2  clang -S -target bpf -Wall -O2 -emit-llvm -c -g -I/usr/include -o - percpu.c | \
     3      llc -march=bpf -filetype=obj -o percpu -