Hi Dmitry. Yes, `strace -v`, and `strace -e abbrev=none`, which are basically the same thing, works.
Thank you, and sorry for wasting your time on this. I have no idea how I missed it in the manual. Cheers, Witold czw., 3 paź 2019 o 02:03 Debian Bug Tracking System <[email protected]> napisał(a): > > This is an automatic notification regarding your Bug report > which was filed against the strace package: > > #926809: strace: Allow dumping full detail of fstat and getdents/getdents64 > syscalls > > It has been closed by "Dmitry V. Levin" <[email protected]>. > > Their explanation is attached below along with your original report. > If this explanation is unsatisfactory and you have not received a > better one in a separate message then please contact "Dmitry V. Levin" > <[email protected]> by > replying to this email. > > > -- > 926809: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926809 > Debian Bug Tracking System > Contact [email protected] with problems > > > > ---------- Forwarded message ---------- > From: "Dmitry V. Levin" <[email protected]> > To: [email protected] > Cc: > Bcc: > Date: Thu, 3 Oct 2019 04:56:08 +0300 > Subject: Re: strace: Allow dumping full detail of fstat and > getdents/getdents64 syscalls > > tags 926809 notabug > thanks > > On Wed, Apr 10, 2019 at 05:43:03PM +0000, Witold Baryluk wrote: > > Package: strace > > Version: 4.26-0.2 > > Severity: normal > > > > ... > > fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 > > getdents64(3, /* 35 entries */, 32768) = 1104 > > fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x7), ...}) = 0 > > ... > > > > > > I tried fidling with -X verbose, -e verbose=%desc, and others, and it > > still hides some details behind ... and in /* 35 entries */. > > > > > > AFAIK, for things like select/poll/epoll_wait, that also return complex > > variable length structures, strace shows them fully and reasonably nicely > > (not sure if they do work with -y option, maybe...). > > > > I want to be able to see detail of all getdents64 entries, including > > entry order as they are returned by kernel, d_type, and the exact filename > > string > > positions in memory, and the d_reclen, d_off values. > > Consider using -v or -e abbrev=set for more fine-grained control. > > > -- > ldv > > > ---------- Forwarded message ---------- > From: Witold Baryluk <[email protected]> > To: Debian Bug Tracking System <[email protected]> > Cc: > Bcc: > Date: Wed, 10 Apr 2019 17:43:03 +0000 > Subject: strace: Allow dumping full detail of fstat and getdents/getdents64 > syscalls > Package: strace > Version: 4.26-0.2 > Severity: normal > > ... > fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 > getdents64(3, /* 35 entries */, 32768) = 1104 > fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x7), ...}) = 0 > ... > > > I tried fidling with -X verbose, -e verbose=%desc, and others, and it > still hides some details behind ... and in /* 35 entries */. > > > AFAIK, for things like select/poll/epoll_wait, that also return complex > variable length structures, strace shows them fully and reasonably nicely > (not sure if they do work with -y option, maybe...). > > I want to be able to see detail of all getdents64 entries, including > entry order as they are returned by kernel, d_type, and the exact filename > string > positions in memory, and the d_reclen, d_off values. > > > > > -- System Information: > Debian Release: buster/sid > APT prefers unstable > APT policy: (500, 'unstable'), (1, 'experimental') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.19.0-2-amd64 (SMP w/32 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), > LANGUAGE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages strace depends on: > ii libc6 2.28-8 > ii libunwind8 1.2.1-8 > > strace recommends no packages. > > strace suggests no packages. > > -- no debconf information -- Witold Baryluk My PGP keys for 2017-02-17 - 2019-02-17: 5B8C 48CB 8B2F CF53 CA55 0995 16D9 6FA2 20A8 F130 https://functor.xyz/pgp/witold.baryluk-gmail.gpg.asc https://keys.mailvelope.com/pks/lookup?op=get&search=0x16D96FA220A8F130

