diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2022-01-12 17:59:56 +0100 |
---|---|---|
committer | Eugene Syromyatnikov <evgsyr@gmail.com> | 2022-01-18 18:06:20 +0100 |
commit | 3843ec63bb3ac601db881e55b2c67fd174c1f59c (patch) | |
tree | 7532e554797e75968421034c65cfc9f83b7520c0 | |
parent | e192e1493607adbf4beb4e146e6b012b26c05da0 (diff) | |
download | strace-3843ec63bb3ac601db881e55b2c67fd174c1f59c.tar.gz |
doc/strace.1: update strace example output
- struct timespec has field names in the ouput since
v4.14-135-gacdb08613;
- the signal mask rt_sigreturn argument is decoded since v4.17~171;
- articulate siginfo in the SIGLARM signal trace message.
* doc/strace.1.in (.SH DESCRIPTION): Add "tv_sec" and "tv_nsec" field
names to clock_gettime example output; replace "0xe" with "{mask=[]}"
in rt_sigreturn example output; replace ellipsis with "{si_signo=SIGALRM,
si_code=SI_KERNEL}" in SIGALRM example output.
-rw-r--r-- | doc/strace.1.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/strace.1.in b/doc/strace.1.in index 89a5e61d4..6f66ef3cc 100644 --- a/doc/strace.1.in +++ b/doc/strace.1.in @@ -141,7 +141,7 @@ When the call returns it will be marked as .IR resumed . .CW [pid 28772] select(4, [3], NULL, NULL, NULL <unfinished ...> -[pid 28779] clock_gettime(CLOCK_REALTIME, {1130322148, 939977000}) = 0 +[pid 28779] clock_gettime(CLOCK_REALTIME, {tv_sec=1130322148, tv_nsec=3977000}) = 0 [pid 28772] <... select resumed> ) = 1 (in [3]) .CE Interruption of a (restartable) system call by a signal delivery is processed @@ -149,8 +149,8 @@ differently as kernel terminates the system call and also arranges its immediate reexecution after the signal handler completes. .CW read(0, 0x7ffff72cf5cf, 1) = ? ERESTARTSYS (To be restarted) ---- SIGALRM ... --- -rt_sigreturn(0xe) = 0 +--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} --- +rt_sigreturn({mask=[]}) = 0 read(0, "", 1) = 0 .CE Arguments are printed in symbolic form with passion. |