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

[BUG]Export map named xxx found, but no export type is provided on arm64 #345

Closed
rockypl opened this issue Jun 20, 2024 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@rockypl
Copy link

rockypl commented Jun 20, 2024

Using the latest versions of ecc-aarch64 and ecli-aarch64 to test and run the examples in the bpf-developer-tutorial on the arm64, it is found that the maps examples fails to run, the error is as follows:

thread '' panicked at ecli-lib/src/runner/task_manager/mod.rs:252:22:
called Result::unwrap() on an Err value: Export map named xxx found, but no export type is provided
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Error: Failed to run native eBPF program

Example package.josn as follows:
"meta":{"bpf_skel":{"data_sections":[],"maps":[{"ident":"rb","name":"rb"}],"obj_name":"exitsnoop_bpf","progs":[{"attach":"tp/sched/sched_process_exit","link":true,"name":"handle_exit"}]},"eunomia_version":"0.3.4"}}

kernel version 5.15
clang version 14.0.6
OS version Debian 12

@rockypl rockypl added the bug Something isn't working label Jun 20, 2024
Copy link

Thanks for using eunomia-bpf! We appreciate your help and we’ll take care of this as soon as possible.

@rockypl
Copy link
Author

rockypl commented Jun 20, 2024

My fault,sorry!Closed

@rockypl rockypl closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant