[DTrace-devel] [oracle/dtrace-utils] b61627: The fbtprovider/tst.return0.d test should not use ...

Kris Van Hees noreply at github.com
Wed Jun 23 19:10:16 PDT 2021


  Branch: refs/heads/2.0-branch-dev
  Home:   https://github.com/oracle/dtrace-utils
  Commit: b61627e0fe222c4dc3190c99b0ec8bcd57dae1a8
      https://github.com/oracle/dtrace-utils/commit/b61627e0fe222c4dc3190c99b0ec8bcd57dae1a8
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M test/unittest/fbtprovider/tst.return0.d

  Log Message:
  -----------
  The fbtprovider/tst.return0.d test should not use ioctl

This test was triggering on ioctl because that was the system call used
by DTrace to read trace data.  It was therefore guaranteed to be called
frequently.

With the new implementation ioctl is no longer used.  Instead, we can
trigger on the poll system call.

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>


  Commit: 53b33a89ef7eaeba5ce06d50a4c73fe91c1fa99e
      https://github.com/oracle/dtrace-utils/commit/53b33a89ef7eaeba5ce06d50a4c73fe91c1fa99e
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    R test/internals/tst.varint.c
    A test/internals/tst.varint.sh
    M test/utils/Build
    A test/utils/tst.varint.c

  Log Message:
  -----------
  Ensure the tst.varint test can run outside the build tree

The tst.varint.c test was depending on two source tree files.  Those
files are no longer available when you install DTrace packages.  The
test has been turned into a script that executes a test/utils program
that is compiled at build time.

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>


Compare: https://github.com/oracle/dtrace-utils/compare/3a18407bbad4...53b33a89ef7e



More information about the DTrace-devel mailing list