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

use aya-log info! macro #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

use aya-log info! macro #9

wants to merge 2 commits into from

Conversation

dmitris
Copy link
Owner

@dmitris dmitris commented Aug 3, 2022

An attempt to use the info! macro to display the information - currently resulting in the verifier error:

20:53:21 [DEBUG] (1) aya::obj::relocation: [/home/dsavints/.cargo/git/checkouts/aya-c55fbc69175ac116/6f301ac/aya/src/obj/relocation.rs:363] finished relocating program tcbpftest function tcbpftest
Error: the BPF_PROG_LOAD syscall failed. Verifier output: func#0 @0
func#1 @353
func#2 @364
func#3 @365
last insn is not an exit or jmp
verification time 14 usec
stack depth 0+0+0+0
processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0


Caused by:
    Invalid argument (os error 22)

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