Page MenuHomeFreeBSD

dtrace tests: Add a test case which validates FBT probe arguments
ClosedPublic

Authored by markj on Sep 14 2024, 6:56 PM.
Tags
None
Referenced Files
F125029855: D46674.id143342.diff
Sat, Aug 2, 3:03 PM
Unknown Object (File)
Fri, Aug 1, 12:17 AM
Unknown Object (File)
Sun, Jul 27, 9:55 PM
Unknown Object (File)
Fri, Jul 18, 7:54 PM
Unknown Object (File)
Sat, Jul 12, 10:57 PM
Unknown Object (File)
Thu, Jul 10, 1:07 PM
Unknown Object (File)
Mon, Jul 7, 5:52 AM
Unknown Object (File)
Fri, Jul 4, 11:21 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59496
Build 56383: arc lint + arc unit

Event Timeline

markj requested review of this revision.Sep 14 2024, 6:56 PM
avg added a subscriber: avg.

LGTM

cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/fbtprovider/tst.argtest.ksh
32–33

It seems that DTrace supports args from 0 to 9 (10 of them in total).
I do not see why args[9] would behave differently from args[8], but it might make sense to add it as well just for the sake of completeness.

This revision is now accepted and ready to land.Sep 15 2024, 9:09 AM

Include args[9] in the test.

This revision now requires review to proceed.Sep 15 2024, 1:32 PM
This revision is now accepted and ready to land.Sep 15 2024, 8:10 PM