[PATCH v1] Changing print_dev_t to print raw device number if -Xraw

shankarapailoor shankarapailoor at gmail.com
Sat Dec 8 22:17:14 UTC 2018

Hi Dmitry,

Attached is a patch which changes print_dev_t to handle -Xraw and
-Xverbose properly. I have added new tests fstat-Xraw, -Xabbrev, and
-Xverbose respectively. The tests seem to pass fine for me, but let me
know if there are any issues.

On Wed, Dec 5, 2018 at 4:28 PM Dmitry V. Levin <ldv at altlinux.org> wrote:
> On Tue, Dec 04, 2018 at 06:34:44PM -0800, shankarapailoor wrote:
> > Hi!
> >
> > Thanks for the comments! Attached is an updated patch. I'm not sure
> > why I missed bpf-obj_get_info_by_fd.c but I've run make check and it
> > doesn't show any failed tests. Let me know what you think.
> Most likely that part of the test was skipped because your kernel
> does not support the newest bpf features yet, I suppose you need
> linux 4.16+ to activate that part of bpf decoder.
> I've also updated the example output in strace.1.in and merged the change
> to master, thanks!
> --
> ldv
> --
> Strace-devel mailing list
> Strace-devel at lists.strace.io
> https://lists.strace.io/mailman/listinfo/strace-devel

Shankara Pailoor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v1-0001-print_dev_t-print-raw-device-value-under-Xraw-ins.patch
Type: text/x-patch
Size: 11431 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20181208/7c89543d/attachment.bin>

More information about the Strace-devel mailing list