Port-hpcarm archive

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

DTrace on hpcarm (CFT)



Hello,
I've enabled the relevant bits in -head for the Jornada 710/20/28
kernels to be built with DTrace support (userland is built with the
relevant parts regardless for the port).

The change consists of 3 lines (see attached patch which makes the
necessary changes).

Ideally this needs to be enabled across the port for all supported
devices, however I do not have such devices to test with.

Can I get some feedback on the change? Especially from owners of the
Jornada 820, the device with the smallest memory size supported by this
port (16MB).


Sevan
Index: sys/arch/hpcarm/conf/IPAQ
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcarm/conf/IPAQ,v
retrieving revision 1.78
diff -u -p -u -r1.78 IPAQ
--- sys/arch/hpcarm/conf/IPAQ	7 Aug 2015 14:12:05 -0000	1.78
+++ sys/arch/hpcarm/conf/IPAQ	30 Mar 2017 17:04:07 -0000
@@ -110,9 +110,10 @@ options 	USERCONF	# userconf(4) support
 options 	DIAGNOSTIC	# internal consistency checks
 #options	DEBUG		# expensive debugging checks/support
 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
+options 	MODULAR		# DTrace is a module (load via modules.conf)
 options 	DDB		# in-kernel debugger
 #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
-#makeoptions	DEBUG="-g"	# compile full symbol table
+makeoptions	DEBUG="-g"	# compile full symbol table
 
 config		netbsd	root on ? type ?
 #options 	COMCONSOLE=0,CONADDR=0x3f8,CONUNIT=0
Index: sys/arch/hpcarm/conf/JORNADA820
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcarm/conf/JORNADA820,v
retrieving revision 1.37
diff -u -p -u -r1.37 JORNADA820
--- sys/arch/hpcarm/conf/JORNADA820	12 Aug 2015 07:53:57 -0000	1.37
+++ sys/arch/hpcarm/conf/JORNADA820	30 Mar 2017 17:04:07 -0000
@@ -113,9 +113,10 @@ options 	BOOT_DUMP	# Enable memorydump a
 options 	DIAGNOSTIC	# internal consistency checks
 options 	DEBUG		# expensive debugging checks/support
 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
+options 	MODULAR		# DTrace is a module (load via modules.conf)
 options 	DDB		# in-kernel debugger
 #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
-#makeoptions	DEBUG="-g"	# compile full symbol table
+makeoptions	DEBUG="-g"	# compile full symbol table
 
 config		netbsd	root on ? type ?
 
Index: sys/arch/hpcarm/conf/NETBOOKPRO
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcarm/conf/NETBOOKPRO,v
retrieving revision 1.20
diff -u -p -u -r1.20 NETBOOKPRO
--- sys/arch/hpcarm/conf/NETBOOKPRO	13 Dec 2016 20:42:18 -0000	1.20
+++ sys/arch/hpcarm/conf/NETBOOKPRO	30 Mar 2017 17:04:07 -0000
@@ -144,9 +144,10 @@ options 	FONT_VT220L8x16
 options 	DIAGNOSTIC	# internal consistency checks
 #options 	DEBUG		# expensive debugging checks/support
 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
+options 	MODULAR		# DTrace is a module (load via modules.conf)
 options 	DDB		# in-kernel debugger
 #options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
-#makeoptions	DEBUG="-g"	# compile full symbol table
+makeoptions	DEBUG="-g"	# compile full symbol table
 
 config		netbsd	root on ? type ?
 
Index: sys/arch/hpcarm/conf/WZERO3
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcarm/conf/WZERO3,v
retrieving revision 1.42
diff -u -p -u -r1.42 WZERO3
--- sys/arch/hpcarm/conf/WZERO3	13 Dec 2016 20:42:18 -0000	1.42
+++ sys/arch/hpcarm/conf/WZERO3	30 Mar 2017 17:04:07 -0000
@@ -145,9 +145,10 @@ options 	FONT_VT220L8x16
 options 	DIAGNOSTIC	# internal consistency checks
 #options 	DEBUG		# expensive debugging checks/support
 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
+options 	MODULAR		# DTrace is a module (load via modules.conf)
 options 	DDB		# in-kernel debugger
 #options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
-#makeoptions	DEBUG="-g"	# compile full symbol table
+makeoptions	DEBUG="-g"	# compile full symbol table
 
 config		netbsd	root on ? type ?
 
Index: sys/arch/hpcarm/conf/std.hpcarm
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcarm/conf/std.hpcarm,v
retrieving revision 1.8
diff -u -p -u -r1.8 std.hpcarm
--- sys/arch/hpcarm/conf/std.hpcarm	27 Jan 2008 12:37:12 -0000	1.8
+++ sys/arch/hpcarm/conf/std.hpcarm	30 Mar 2017 17:04:07 -0000
@@ -12,3 +12,5 @@ options 	EXEC_SCRIPT
 
 # To support easy transit to ../arch/arm/arm32
 options 	ARM32
+
+options 	KDTRACE_HOOKS	# kernel DTrace hooks
Index: sys/arch/hpcarm/conf/JORNADA720
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcarm/conf/JORNADA720,v
retrieving revision 1.99
diff -u -p -u -r1.99 JORNADA720
--- sys/arch/hpcarm/conf/JORNADA720	30 Mar 2017 17:40:09 -0000	1.99
+++ sys/arch/hpcarm/conf/JORNADA720	30 Mar 2017 17:56:15 -0000
@@ -115,7 +115,6 @@ options 	NFS_BOOT_DHCP
 #options 	DIAGNOSTIC	# internal consistency checks
 #options 	DEBUG		# expensive debugging checks/support
 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
-options 	KDTRACE_HOOKS	# kernel DTrace hooks
 options 	MODULAR		# DTrace is a module (load via modules.conf)
 options 	DDB		# in-kernel debugger
 #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB


Home | Main Index | Thread Index | Old Index