Page MenuHomeFreeBSD

dtrace: fix signature mismatch
ClosedPublic

Authored by aokblast on Feb 23 2025, 5:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 5, 11:45 AM
Unknown Object (File)
Sun, Aug 3, 4:14 AM
Unknown Object (File)
Sun, Jul 27, 6:16 PM
Unknown Object (File)
Fri, Jul 25, 2:15 PM
Unknown Object (File)
Mon, Jul 21, 2:07 AM
Unknown Object (File)
Sun, Jul 20, 2:44 PM
Unknown Object (File)
Fri, Jul 18, 9:58 PM
Unknown Object (File)
Fri, Jul 18, 8:33 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 62595
Build 59479: arc lint + arc unit

Event Timeline

sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c
12996

This function is called directly in some places, so the patch doesn't compile.

For the taskq_dispatch case, I'd introduce a wrapper like:

static void
dtrace_enabling_matchall_task(void *args __unused)
{
    dtrace_enabling_matchall();
}

Sorry. Too much patch at the same time.

I forgot to cherry-pick the patch from my kcfi work branch.

sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c
12998

Remove redundant return statement

This revision is now accepted and ready to land.Feb 24 2025, 2:22 AM

BTW, a question is that it is put inside the opensolaris directory. Should I upstream to illumos? I don't find the counterpart on illumos.

BTW, a question is that it is put inside the opensolaris directory. Should I upstream to illumos? I don't find the counterpart on illumos.

It's not necessary from my point of view. Our copy of dtrace has diverged from illumos quite a lot over time. It is also not particularly easy to upstream such small patches to illumos unless they fix some concrete bug, in my (limited) experience. You can try of course, I just would not say that it's necessary.

I see. Thanks.

Here is the patch for merging.