Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gen skeleton does not work on Ubuntu #4

Open
CaledoniaProject opened this issue Jul 7, 2022 · 0 comments
Open

gen skeleton does not work on Ubuntu #4

CaledoniaProject opened this issue Jul 7, 2022 · 0 comments

Comments

@CaledoniaProject
Copy link

I'm unable to compile it on Ubuntu 20.04:

# make V=1
/usr/sbin/bpftool gen skeleton .output/pamspy.bpf.o > .output/pamspy.skel.h
Usage: /usr/lib/linux-tools/5.4.0-100-generic/bpftool [OPTIONS] OBJECT { COMMAND | help }
       /usr/lib/linux-tools/5.4.0-100-generic/bpftool batch file FILE
       /usr/lib/linux-tools/5.4.0-100-generic/bpftool version

       OBJECT := { prog | map | cgroup | perf | net | feature | btf }
       OPTIONS := { {-j|--json} [{-p|--pretty}] | {-f|--bpffs} |
	            {-m|--mapcompat} | {-n|--nomount} }
make: *** [Makefile:65: .output/pamspy.skel.h] Error 255
make: *** Deleting file '.output/pamspy.skel.h'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant