From: Mohan Parthasarathy <mposdev21@gmail.com>
To: bpf <bpf@vger.kernel.org>
Subject: Error during load: Arg#1 type is not a struct
Date: Mon, 11 Oct 2021 17:43:49 -0700 [thread overview]
Message-ID: <CAL2pN58BAoThG1kjoyDxkrXGsAakNpJ6=qFb_2RHu7L1na9Ssw@mail.gmail.com> (raw)
Hi,
My XDP program was working fine with older version of clang/llvm (10)
and when I moved to ubuntu 21.04, I ended up using version 12 and
started seeing the problem during load:
Validating xyz() func#1...
arg#1 type is not a struct
Arg#1 type PTR in xyz() is not supported yet.
I can see it is coming from btf_get_prog_ctx_type, but not able to
find the reason. The argument is a "void *". What am I missing ?
Thanks
Mohan
reply other threads:[~2021-10-12 0:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAL2pN58BAoThG1kjoyDxkrXGsAakNpJ6=qFb_2RHu7L1na9Ssw@mail.gmail.com' \
--to=mposdev21@gmail.com \
--cc=bpf@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).