Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dev/fbt Always exclude "fbt_*" from the ...



details:   https://anonhg.NetBSD.org/src/rev/46a560ec78fe
branches:  trunk
changeset: 452586:46a560ec78fe
user:      hannken <hannken%NetBSD.org@localhost>
date:      Tue Jul 16 07:26:00 2019 +0000

description:
Always exclude "fbt_*" from the list of FBT probes.

diffstat:

 external/cddl/osnet/dev/fbt/fbt.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 149042d8098a -r 46a560ec78fe external/cddl/osnet/dev/fbt/fbt.c
--- a/external/cddl/osnet/dev/fbt/fbt.c Mon Jul 15 19:34:45 2019 +0000
+++ b/external/cddl/osnet/dev/fbt/fbt.c Tue Jul 16 07:26:00 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fbt.c,v 1.26 2019/03/09 18:53:52 kamil Exp $   */
+/*     $NetBSD: fbt.c,v 1.27 2019/07/16 07:26:00 hannken Exp $ */
 
 /*
  * CDDL HEADER START
@@ -177,7 +177,8 @@
            strncmp(name, "kdb_", 4) == 0 ||
            strncmp(name, "lockdebug_", 10) == 0 ||
            strncmp(name, "kauth_", 5) == 0 ||
-           strncmp(name, "ktext_write", 11) == 0) {
+           strncmp(name, "ktext_write", 11) == 0 ||
+           strncmp(name, "fbt_", 4) == 0) {
                return (1);
        }
 #endif



Home | Main Index | Thread Index | Old Index