Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2016 01:29:46 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r307837 - in stable/11/sys/cddl/dev/fbt: . arm powerpc x86
Message-ID:  <201610240129.u9O1Tkco062037@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Mon Oct 24 01:29:46 2016
New Revision: 307837
URL: https://svnweb.freebsd.org/changeset/base/307837

Log:
  MFC r306570:
  Allow tracing of functions prefixed by "__".

Modified:
  stable/11/sys/cddl/dev/fbt/arm/fbt_isa.c
  stable/11/sys/cddl/dev/fbt/fbt.c
  stable/11/sys/cddl/dev/fbt/powerpc/fbt_isa.c
  stable/11/sys/cddl/dev/fbt/x86/fbt_isa.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/cddl/dev/fbt/arm/fbt_isa.c
==============================================================================
--- stable/11/sys/cddl/dev/fbt/arm/fbt_isa.c	Mon Oct 24 01:22:01 2016	(r307836)
+++ stable/11/sys/cddl/dev/fbt/arm/fbt_isa.c	Mon Oct 24 01:29:46 2016	(r307837)
@@ -106,9 +106,6 @@ fbt_provide_module_function(linker_file_
 		return (0);
 	}
 
-	if (name[0] == '_' && name[1] == '_')
-		return (0);
-
 	instr = (uint32_t *)symval->value;
 	limit = (uint32_t *)(symval->value + symval->size);
 

Modified: stable/11/sys/cddl/dev/fbt/fbt.c
==============================================================================
--- stable/11/sys/cddl/dev/fbt/fbt.c	Mon Oct 24 01:22:01 2016	(r307836)
+++ stable/11/sys/cddl/dev/fbt/fbt.c	Mon Oct 24 01:29:46 2016	(r307837)
@@ -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.

Modified: stable/11/sys/cddl/dev/fbt/powerpc/fbt_isa.c
==============================================================================
--- stable/11/sys/cddl/dev/fbt/powerpc/fbt_isa.c	Mon Oct 24 01:22:01 2016	(r307836)
+++ stable/11/sys/cddl/dev/fbt/powerpc/fbt_isa.c	Mon Oct 24 01:29:46 2016	(r307837)
@@ -138,9 +138,6 @@ fbt_provide_module_function(linker_file_
 		return (0);
 	}
 
-	if (name[0] == '_' && name[1] == '_')
-		return (0);
-
 	instr = (uint32_t *) symval->value;
 	limit = (uint32_t *) (symval->value + symval->size);
 

Modified: stable/11/sys/cddl/dev/fbt/x86/fbt_isa.c
==============================================================================
--- stable/11/sys/cddl/dev/fbt/x86/fbt_isa.c	Mon Oct 24 01:22:01 2016	(r307836)
+++ stable/11/sys/cddl/dev/fbt/x86/fbt_isa.c	Mon Oct 24 01:29:46 2016	(r307837)
@@ -174,9 +174,6 @@ fbt_provide_module_function(linker_file_
 		return (0);
 	}
 
-	if (name[0] == '_' && name[1] == '_')
-		return (0);
-
 	size = symval->size;
 
 	instr = (uint8_t *) symval->value;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610240129.u9O1Tkco062037>