mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
d1b7b024dc
The type casting introduces an allocation, this will cause compiling failure when linking final bpf target. So remove this casting to fix this issue. BTW, the following is the failure I met: = note: 07:24:12 [ERROR] fatal error: "unable to allocate function return #1" PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. Stack dump: 0. Running pass 'Function Pass Manager' on module 'trace_bpf-001a275b17e9eb12'. 1. Running pass 'BPF DAG->DAG Pattern Instruction Selection' on function '@_ZN7aya_bpf4maps11stack_trace10StackTrace11get_stackid17h32b649bc3780c0aaE' Signed-off-by: Tw <wei.tan@intel.com> |
4 years ago | |
---|---|---|
.. | ||
src | 4 years ago | |
Cargo.toml | 4 years ago |