Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> writes: [...] > +struct { > + int prog_off; > + const char *errstr; > +} stream_error_arr[] = { > + { > + offsetof(struct stream, progs.stream_cond_break), > + "ERROR: Timeout detected for may_goto instruction", > + }, > + { > + offsetof(struct stream, progs.stream_deadlock), > + "ERROR: AA or ABBA deadlock detected", > + }, > +}; Wild idea: instead of hand-coding this for each test, maybe add __bpf_stderr, __bpf_stdout annotations to test_loader.c? With intent for them to operate like __msg. [...]