Module Name: src Committed By: riastradh Date: Fri Sep 2 11:03:50 UTC 2022
Modified Files: src/external/cddl/osnet/dev/fbt: fbt.c Log Message: dtrace_fbt: Allow tracing names that start with `__'. This was never relevant on FreeBSD and I don't think it is relevant on NetBSD either. The FreeBSD change to lift this restriction had the following comment: r306570 | markj | 2016-10-02 00:35:00 +0000 (Sun, 02 Oct 2016) | 7 lines Allow tracing of functions prefixed by "__". This restriction was inherited from upstream but is not relevant on FreeBSD. Furthermore, it hindered the tracing of locking primitive subroutines. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/external/cddl/osnet/dev/fbt/fbt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/cddl/osnet/dev/fbt/fbt.c diff -u src/external/cddl/osnet/dev/fbt/fbt.c:1.28 src/external/cddl/osnet/dev/fbt/fbt.c:1.29 --- src/external/cddl/osnet/dev/fbt/fbt.c:1.28 Mon Mar 28 12:33:20 2022 +++ src/external/cddl/osnet/dev/fbt/fbt.c Fri Sep 2 11:03:50 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: fbt.c,v 1.28 2022/03/28 12:33:20 riastradh Exp $ */ +/* $NetBSD: fbt.c,v 1.29 2022/09/02 11:03:50 riastradh Exp $ */ /* * CDDL HEADER START @@ -168,9 +168,6 @@ fbt_excluded(const char *name) #endif #ifdef __NetBSD__ - if (name[0] == '_' && name[1] == '_') - return (1); - if (strcmp(name, "cpu_index") == 0 || strncmp(name, "db_", 3) == 0 || strncmp(name, "ddb_", 4) == 0 ||