[PATCH v1] print the raw kernel version when using -Xraw
shankarapailoor at gmail.com
Sun Dec 9 15:44:02 UTC 2018
Attached is a patch which changes bpf.c to handle -Xraw, -Xverbose
when printing the kern_version field. I have added appropriate tests.
Let me know what you think.
On Tue, Dec 4, 2018 at 5:46 PM Dmitry V. Levin <ldv at altlinux.org> wrote:
> 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.
> Strace-devel mailing list
> Strace-devel at lists.strace.io
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10536 bytes
Desc: not available
More information about the Strace-devel