Skip to content

gentoo, manpage, and assorted other small fixes

Nick Alcock dtrace 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest14 patches 3 repliesIn review
  2. v214 patches 5 repliesSuperseded
  3. v114 patches 19 repliesSuperseded

Changes since v1 from the cover letter

Review comment adjustments, and replacement of the INT_MAX dt_probe_lookup2() fix with something rather more comprehensive

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14No longer depend on libsystemdGNUmakefile Makeconfig configure +5 more+86 -221 reply
2/14pkgconfig: drop spaces in variable declsuts/dtrace.pc.in uts/dtrace_sdt.pc.in+5 -50 replies
3/14configure, build: make valgrind optionalMakeconfig configure libdtrace/dt_work.c+51 -21 reply
4/14build: substitute LIBDIR in pkg-config filesuts/Build+1 -00 replies
5/14probe: improve dt_probe_lookup2()libdtrace/dt_impl.h libdtrace/dt_probe.c libdtrace/dt_subr.c+30 -341 reply
6/14configure: fix dreadful behaviour of MANDIR / --mandirGNUmakefile cmd/Build configure+3 -30 replies
7/14man: the synopsis is ended with .YS, not .SYcmd/dtrace.8+2 -20 replies
8/14man: use \- for option dashes, not -cmd/dtrace.8+58 -580 replies
9/14man: drop blank linescmd/dtrace.8+3 -30 replies
10/14man: fix blank line in environment variables listcmd/dtrace.8+1 -10 replies
11/14dtprobed: fix parser child timeoutdtprobed/dtprobed.c+1 -10 replies
12/14man: add manpage for dtprobed(8)cmd/dtrace.8 dtprobed/Build dtprobed/dtprobed.8+68 -10 replies
13/14man: drop double-\fB at the start of every option linecmd/dtrace.8+28 -280 replies
14/14man: \fP-izecmd/dtrace.8+36 -360 replies

Reviews trailers per patch

All 14 patches have a Reviewed-by or Acked-by.

PatchKris Van Hees
1/14R-b
2/14R-b
3/14R-b
4/14R-b
5/14R-b
6/14R-b
7/14R-b
8/14R-b
9/14R-b
10/14R-b
11/14R-b
12/14R-b
13/14R-b
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/14] gentoo, manpage, and assorted other small fixes

Most of these are bugs reported by Gentoo, but their request for a dtprobed(8) manpage triggered a sweep of the dtrace manpage too, plus a fix to a rather unfortunate millisecs-versus-sedcs bug which caused us to wait for an hour and a half for a dtprobed parser child timeout rather than the intended five seconds.

The only potentially contentious ones are libsystemd (quite a lot of code, and not ours, but it's BSD-0-licensed and I took out the most ridiculously overkill parts), and the last two, which drop apparently redundant markup from the manpages whose purpose I'm not clear on but which seems to be ancient and is probably working around bugs in old Solaris troff or something. We can probably assume groff by this point, it's been the only maintained troff for decades.

Changes since v1:
Review comment adjustments, and replacement of the INT_MAX dt_probe_lookup2() fix with something rather more comprehensive

Many of these have already been reviewed and have a reviewed-by: I assume having the whole series reposted is nonetheless clearer (I can post only the non-reviewed-by:ed parts in future if you prefer).

Nick Alcock (14):
No longer depend on libsystemd
pkgconfig: drop spaces in variable decls configure, build: make valgrind optional
build: substitute LIBDIR in pkg-config files
probe: improve dt_probe_lookup2()
configure: fix dreadful behaviour of MANDIR / --mandir
man: the synopsis is ended with .YS, not .SY
man: use \- for option dashes, not -
man: drop blank lines
man: fix blank line in environment variables list
dtprobed: fix parser child timeout
man: add manpage for dtprobed(8)
man: drop double-\fB at the start of every option line
man: \fP-ize

 GNUmakefile              |   3 +-
 Makeconfig               |  37 +++++++++-
 cmd/Build                |   2 +-
 cmd/dtrace.8             | 151 ++++++++++++++++++++-------------------
 configure                |  19 +++--
 dtprobed/Build           |   9 +--
 dtprobed/dtprobed.8      |  64 +++++++++++++++++
 dtprobed/dtprobed.c      |  10 +--
 include/port.h           |   1 +
 libdtrace/dt_impl.h      |   2 +
 libdtrace/dt_probe.c     |  47 ++++--------
 libdtrace/dt_subr.c      |  15 ++++
 libdtrace/dt_work.c      |  16 ++++-
 libport/Build            |   4 +-
 libport/systemd_notify.c |  70 ++++++++++++++++++
 uts/Build                |   1 +
 uts/dtrace.pc.in         |   6 +-
 uts/dtrace_sdt.pc.in     |   4 +-
 18 files changed, 319 insertions(+), 142 deletions(-)
 create mode 100644 dtprobed/dtprobed.8
 create mode 100644 libport/systemd_notify.c

base-commit: 8a1264bf0e818c8624be250eb5174714b62ed93c

Signature · 1 line
2.46.0.278.g36e3a12567