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

print debug messages #6

Closed
wants to merge 1 commit into from

Conversation

mozillazg
Copy link
Owner

@mozillazg mozillazg commented Dec 13, 2022

$ sudo ./main-static
libbpf: loading main.bpf.o
libbpf: elf: section(3) license, size 13, link 0, flags 3, type=1
libbpf: license of main.bpf.o is Dual BSD/GPL
libbpf: elf: section(4) .maps, size 32, link 0, flags 3, type=1
libbpf: elf: section(9) .BTF, size 470, link 0, flags 0, type=1
libbpf: elf: section(13) .symtab, size 168, link 1, flags 0, type=2
libbpf: looking for externs among 7 symbols...
libbpf: collected 0 externs total
libbpf: map 'numbers': at sec_idx 4, offset 0.
libbpf: map 'numbers': found type = 1.
libbpf: map 'numbers': found key [8], sz = 4.
libbpf: map 'numbers': found value [8], sz = 4.
libbpf: map 'numbers': found max_entries = 5.
libbpf: map 'numbers': created successfully, fd=8

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

Successfully merging this pull request may close these issues.

1 participant