git: af2f923ed093 - stable/14 - dtrace_test: Remove the dependency on dtraceall

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Fri, 04 Oct 2024 15:57:02 UTC
The branch stable/14 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=af2f923ed093200529e9f68ca7436dffd7a68dd3

commit af2f923ed093200529e9f68ca7436dffd7a68dd3
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-09-19 09:21:55 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-10-04 15:56:42 +0000

    dtrace_test: Remove the dependency on dtraceall
    
    FBT refuses to create probes in modules which depend on dtrace(all), but
    dtrace_test is a convenient place to add functions specifically for
    testing dtrace.
    
    The dependency on dtraceall is not needed, so just remove it.  In fact,
    it can be useful to test SDT probe creation by loading dtrace_test with
    and without dtraceall loaded.
    
    Reviewed by:    avg
    MFC after:      2 weeks
    Differential Revision:  https://reviews.freebsd.org/D46673
    
    (cherry picked from commit 5bd7b976c1214cd6357b74f491753a331f9b7c99)
---
 sys/cddl/dev/dtrace/dtrace_test.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/cddl/dev/dtrace/dtrace_test.c b/sys/cddl/dev/dtrace/dtrace_test.c
index 2a599b1f0ce5..6c4fcc8d4080 100644
--- a/sys/cddl/dev/dtrace/dtrace_test.c
+++ b/sys/cddl/dev/dtrace/dtrace_test.c
@@ -106,4 +106,3 @@ dtrace_test_modevent(module_t mod, int type, void *data)
 
 DEV_MODULE(dtrace_test, dtrace_test_modevent, NULL);
 MODULE_VERSION(dtrace_test, 1);
-MODULE_DEPEND(dtrace_test, dtraceall, 1, 1, 1);