8 Commits

Author SHA1 Message Date
Nikolay Marchuk
af319a087d Add description of new filtering syntax
* strace.1.in (.SS Filtering): Add description of new filtering syntax.
2017-12-21 13:12:36 +00:00
Eugene Syromyatnikov
36fd4ce02b strace.1.in: mention perf and ftrace in SEE ALSO
* strace.1.in (.SH SEE ALSO): Add references to perf-trace(1) and
trace-cmd(1).
2017-12-21 13:12:36 +00:00
Eugene Syromyatnikov
138b417723 strace.1.in: clarify -F option behaviour
* strace.1.in <.TP \-F>: Extend deprecation warning.  Describe behaviour
of multiple instances of -F and interoperability of -F and -f.
2017-12-21 13:12:36 +00:00
ed9faa2e27 Disallow more than one signal= specification in an injection expression
Specifying several signal= specifications in an injection expressions
makes no sense.

* filter_qualify.c (parse_inject_token): Disallow second
signal= specification.
* strace.1.in: Document it.
* tests/qual_inject-syntax.test: Check it.
2017-08-28 23:38:43 +00:00
Eugene Syromyatnikov
d720877b1f Make description of discrepancies between libc and kernel APIs more relevant
Looks like this part was untouched since the days strace supported OSes
other than Linux. Well, it's time to make it more contemporary.

* strace.1.in (.SH NOTES): Use faccessat(2) and setrlimit(2)/prlimit(2)
instead of time(2) and stat(2)/xstat(2) as examples of libc/kernel API
discrepancies.
2017-08-14 00:29:15 +02:00
Eugene Syromyatnikov
87fd823df9 strace.1: add indentation to examples
* strace.1 (.de CW): Add .in +4n.
(.de CE): Add .in.
2017-08-10 21:36:01 +02:00
Eugene Syromyatnikov
23bd66bfee Generate date for the man page
* Makefile.am (dist-hook): Add .strace.1.in.date generation.
* strace.spec.in (%setup): Likewise.
* configure.ac (manpage_date): New m4 define.
(MANPAGE_DATE): New define/subst.
* strace.1 (.TH): Add manpage date and strace's version.
2017-08-10 21:36:01 +02:00
Eugene Syromyatnikov
4f9270f0c5 Make strace.1 generated
* .gitignore (/strace.1): New entry.
* configure.ac (AC_CONFIG_FILES): Add strace.1.
* strace.1.in: Rename from strace.1.
2017-08-10 21:36:01 +02:00