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.
aya/bpf
Tw d1b7b024dc bpf: fix a minor bug due to stackid allocation
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>
3 years ago
..
aya-bpf bpf: fix a minor bug due to stackid allocation 3 years ago
aya-bpf-bindings bpf: don't generate bpf_map_def and fix aya_bpf::bindings overrides 3 years ago
aya-bpf-cty bpf/aya-bpf-cty: target_arch for bpf*-unknown-none was renamed to "bpf" 3 years ago
aya-bpf-macros bpf: add support for BPF_PROG_TYPE_CGROUP_SKB programs 3 years ago
Cargo.toml bpf: add aya-bpf-bindings 4 years ago