public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Pavel Begunkov <asml.silence@gmail.com>, io-uring@vger.kernel.org
Subject: Re: [PATCH liburing v3 1/1] tests: test io_uring bpf ops
Date: Wed, 18 Mar 2026 12:28:28 -0600	[thread overview]
Message-ID: <84859817-8af5-4468-8980-fe25417d6572@kernel.dk> (raw)
In-Reply-To: <3c00370f-81b0-41d1-8deb-beb1781a75bd@kernel.dk>

On 3/18/26 12:24 PM, Jens Axboe wrote:
> On 3/18/26 11:43 AM, Pavel Begunkov wrote:
>> On 3/18/26 17:36, Pavel Begunkov wrote:
>>> Add some BPF struct ops io_uring tests/examples, one is issuing nops in
>>> a loop, the other copies a file.
>>
>> I needed to conditionally compile based on whether vmlinux.h contains
>> io_uring BPF definitions, so now configure probes it by generating a
>> temp vmlinux.h. And since I want to be able to pass a path to the
>> target vmlinux, it also became a configure parameter. Not sure if there
>> is a better way to handle that.
> 
> Looks good to me. The configure changes are a bit broken though, you'd
> need something like this on top to not have it fail:

Oh, and additionally, at least my my debian test boxes, bpftool is in
/usr/sbin/bpftool and hence it won't get detected unless you run
configure as root...

-- 
Jens Axboe


  reply	other threads:[~2026-03-18 18:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-18 17:36 [PATCH liburing v3 1/1] tests: test io_uring bpf ops Pavel Begunkov
2026-03-18 17:43 ` Pavel Begunkov
2026-03-18 18:24   ` Jens Axboe
2026-03-18 18:28     ` Jens Axboe [this message]
2026-03-18 20:57     ` Pavel Begunkov
2026-03-18 20:59 ` Pavel Begunkov
2026-03-18 21:01 ` Pavel Begunkov

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=84859817-8af5-4468-8980-fe25417d6572@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.com \
    --cc=io-uring@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