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 Exclude mvsoctmr_* functions fro...



details:   https://anonhg.NetBSD.org/src/rev/aab52638ab88
branches:  trunk
changeset: 794604:aab52638ab88
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Mar 19 11:14:12 2014 +0000

description:
Exclude mvsoctmr_* functions from FBT targets

Probing them doesn't work for DTrace/arm for some reason.

Anyway with this fix, DTrace/arm works on SHEEVAPLUG
as well as BEAGLEBONE.

diffstat:

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

diffs (24 lines):

diff -r 38c15886d6ad -r aab52638ab88 external/cddl/osnet/dev/fbt/fbt.c
--- a/external/cddl/osnet/dev/fbt/fbt.c Wed Mar 19 10:54:20 2014 +0000
+++ b/external/cddl/osnet/dev/fbt/fbt.c Wed Mar 19 11:14:12 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fbt.c,v 1.14 2014/03/15 08:00:19 ozaki-r Exp $ */
+/*     $NetBSD: fbt.c,v 1.15 2014/03/19 11:14:12 ozaki-r Exp $ */
 
 /*
  * CDDL HEADER START
@@ -756,12 +756,13 @@
            || strncmp(name, "kauth_", 5) == 0 /* CRED XXX for now */
            /* Sensitive functions on ARM */
            || strncmp(name, "_spl", 4) == 0
-           || strncmp(name, "dmt_", 4) == 0
            || strcmp(name, "binuptime") == 0
            || strcmp(name, "dosoftints") == 0
            || strcmp(name, "fbt_emulate") == 0
            || strcmp(name, "nanouptime") == 0
            || strcmp(name, "undefinedinstruction") == 0
+           || strncmp(name, "dmt_", 4) == 0 /* omap */
+           || strncmp(name, "mvsoctmr_", 9) == 0 /* marvell */
            ) {
                return 0;
        }



Home | Main Index | Thread Index | Old Index