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

missing constants from .rodata when --filter-trace-tc #488

Closed
smagnani96 opened this issue Jan 21, 2025 · 3 comments
Closed

missing constants from .rodata when --filter-trace-tc #488

smagnani96 opened this issue Jan 21, 2025 · 3 comments

Comments

@smagnani96
Copy link

Upon running pwru --filter-trace-tc, I receive the following error:

Attaching tc-bpf progs...
failed to trace TC progs: failed to trace bpf progs: failed to rewrite bpf prog addr: rewrite constants: some constants are missing from .rodata: BPF_PROG_ADDR

This might be due to the changes to the new ebpf Variable API + some map replacements while calling func (t *tracing) traceProg(spec *ebpf.CollectionSpec, opts *ebpf.CollectionOptions, prog *ebpf.Program, n2a BpfProgName2Addr, tracingName string, ) error

@jschwinger233
Copy link
Member

It's #481 😬

@jschwinger233
Copy link
Member

(need more test in ci 〰

@smagnani96
Copy link
Author

This is a duplicate of #483 (error in subsequent steps to solve this issue is the same).

(need more test in ci 〰

Should open a new Issue?

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 a pull request may close this issue.

2 participants