summaryrefslogtreecommitdiffstats
path: root/sys/cddl
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2016-10-24 01:29:46 +0000
committermarkj <markj@FreeBSD.org>2016-10-24 01:29:46 +0000
commitb7a324a0a0d7bd661e8ca9521020c9039efdadc2 (patch)
tree23053cd89ad2d7a5bcc5d26c4ac7413f0d44df06 /sys/cddl
parent86087bf836e1bfbac2eba7d80192bcf913fc3688 (diff)
downloadFreeBSD-src-b7a324a0a0d7bd661e8ca9521020c9039efdadc2.zip
FreeBSD-src-b7a324a0a0d7bd661e8ca9521020c9039efdadc2.tar.gz
MFC r306570:
Allow tracing of functions prefixed by "__".
Diffstat (limited to 'sys/cddl')
-rw-r--r--sys/cddl/dev/fbt/arm/fbt_isa.c3
-rw-r--r--sys/cddl/dev/fbt/fbt.c4
-rw-r--r--sys/cddl/dev/fbt/powerpc/fbt_isa.c3
-rw-r--r--sys/cddl/dev/fbt/x86/fbt_isa.c3
4 files changed, 0 insertions, 13 deletions
diff --git a/sys/cddl/dev/fbt/arm/fbt_isa.c b/sys/cddl/dev/fbt/arm/fbt_isa.c
index 592e598..068610a 100644
--- a/sys/cddl/dev/fbt/arm/fbt_isa.c
+++ b/sys/cddl/dev/fbt/arm/fbt_isa.c
@@ -106,9 +106,6 @@ fbt_provide_module_function(linker_file_t lf, int symindx,
return (0);
}
- if (name[0] == '_' && name[1] == '_')
- return (0);
-
instr = (uint32_t *)symval->value;
limit = (uint32_t *)(symval->value + symval->size);
diff --git a/sys/cddl/dev/fbt/fbt.c b/sys/cddl/dev/fbt/fbt.c
index 19018f9..41de379 100644
--- a/sys/cddl/dev/fbt/fbt.c
+++ b/sys/cddl/dev/fbt/fbt.c
@@ -126,10 +126,6 @@ fbt_excluded(const char *name)
return (1);
}
- /* Exclude some internal functions */
- if (name[0] == '_' && name[1] == '_')
- return (1);
-
/*
* When DTrace is built into the kernel we need to exclude
* the FBT functions from instrumentation.
diff --git a/sys/cddl/dev/fbt/powerpc/fbt_isa.c b/sys/cddl/dev/fbt/powerpc/fbt_isa.c
index 0568e55..e67e837 100644
--- a/sys/cddl/dev/fbt/powerpc/fbt_isa.c
+++ b/sys/cddl/dev/fbt/powerpc/fbt_isa.c
@@ -138,9 +138,6 @@ fbt_provide_module_function(linker_file_t lf, int symindx,
return (0);
}
- if (name[0] == '_' && name[1] == '_')
- return (0);
-
instr = (uint32_t *) symval->value;
limit = (uint32_t *) (symval->value + symval->size);
diff --git a/sys/cddl/dev/fbt/x86/fbt_isa.c b/sys/cddl/dev/fbt/x86/fbt_isa.c
index 6639806..51cfc64 100644
--- a/sys/cddl/dev/fbt/x86/fbt_isa.c
+++ b/sys/cddl/dev/fbt/x86/fbt_isa.c
@@ -174,9 +174,6 @@ fbt_provide_module_function(linker_file_t lf, int symindx,
return (0);
}
- if (name[0] == '_' && name[1] == '_')
- return (0);
-
size = symval->size;
instr = (uint8_t *) symval->value;
OpenPOWER on IntegriCloud