[PATCH v5] bpf: support new commands BPF_MAP_*_BATCH
Eugene Syromyatnikov
evgsyr at gmail.com
Sat Apr 4 18:53:09 UTC 2020
On Sat, Apr 4, 2020 at 8:23 PM Dmitry V. Levin <ldv at altlinux.org> wrote:
>
> On Sat, Apr 04, 2020 at 08:11:02PM +0200, Paul Chaignon wrote:
> > + if (count != attr.count) {
> > + PRINT_FIELD_U("=> batch={", attr, count);
> > + tprintf("}");
>
> If we print "{batch={...}}" on entering, shouldn't we print
> "=> {batch={...}}" on exiting as well?
>
> It's a pity we cannot have a test covering this case.
We can try to inject a signal/delay and change the contents in signal
handler/other thread, but, unfortunately, no one has tried to write
such a test yet, so there's not ready example of usage of such
technique.
--
Eugene Syromyatnikov
mailto:evgsyr at gmail.com
xmpp:esyr at jabber.{ru|org}
More information about the Strace-devel
mailing list