On Wed, Sep 17, 2014 at 2:59 PM, Daniel Borkmann <dborkman@xxxxxxxxxx> wrote: >> >> 3. >> kernel/bpf/test_stubs.c can be removed once real tracing >> or socket use case is in. > > > Yes, please, lets go for point 3 at the very least. agree. test_stubs is a way to have verifier testsuite as the first ebpf user in this patch set. There are multiple ways of connecting ebpf to tracing/sockets and these discussions cannot happen all at once. So test_stubs to some degree is scaffolding to bring other pieces in place slowly with required due diligence. I don't think there will be a need for test_stubs when tracing+ebpf is in place. That's why I didn't introduce special prog_type and map_type for it and instead used 'unspec' type which is invalid type and used for testing temporarily. verifier testsuite, of course, will stay. It will switch from 'unspec' type to real types when they're ready. -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html