[PATCH v1] print the raw kernel version when using -Xraw

Dmitry V. Levin ldv at altlinux.org
Wed Dec 5 01:46:52 UTC 2018


On Sun, Dec 02, 2018 at 03:14:52PM -0800, shankarapailoor wrote:
> > Also please add a test.
> 
> Would you suggest I add a new file that just tests PROG_LOAD or update
> bpf.c? If I do the latter, will I need to make sure that all the
> output from all the other tests are properly parsed under
> -Xraw/verbose/?

It's up to you whether to base new test on the whole bpf.c or just a small
part of it.   If all you want to test is print_kernel_version, then
testing just a part of PROG_LOAD should be OK.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20181205/65d492ec/attachment.bin>


More information about the Strace-devel mailing list