svn commit: r185294 - in user/netchild/linuxulator-dtrace: . src
src/sys src/sys/amd64 src/sys/amd64/linux32 src/sys/compat
src/sys/compat/linprocfs src/sys/compat/linsysfs
src/sys/compat/linux src...
Alexander Leidinger
netchild at FreeBSD.org
Tue Nov 25 05:33:19 PST 2008
Author: netchild
Date: Tue Nov 25 13:33:18 2008
New Revision: 185294
URL: http://svn.freebsd.org/changeset/base/185294
Log:
Baseline for static dtrace probes in linuxulator.
Added:
user/netchild/linuxulator-dtrace/
user/netchild/linuxulator-dtrace/DESIGN
user/netchild/linuxulator-dtrace/README
user/netchild/linuxulator-dtrace/src/
user/netchild/linuxulator-dtrace/src/sys/
user/netchild/linuxulator-dtrace/src/sys/amd64/
user/netchild/linuxulator-dtrace/src/sys/amd64/linux32/ (props changed)
- copied from r185293, head/sys/amd64/linux32/
user/netchild/linuxulator-dtrace/src/sys/compat/
user/netchild/linuxulator-dtrace/src/sys/compat/linprocfs/ (props changed)
- copied from r185293, head/sys/compat/linprocfs/
user/netchild/linuxulator-dtrace/src/sys/compat/linsysfs/ (props changed)
- copied from r185293, head/sys/compat/linsysfs/
user/netchild/linuxulator-dtrace/src/sys/compat/linux/ (props changed)
- copied from r185293, head/sys/compat/linux/
user/netchild/linuxulator-dtrace/src/sys/i386/
user/netchild/linuxulator-dtrace/src/sys/i386/linux/ (props changed)
- copied from r185293, head/sys/i386/linux/
Added: user/netchild/linuxulator-dtrace/DESIGN
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/netchild/linuxulator-dtrace/DESIGN Tue Nov 25 13:33:18 2008 (r185294)
@@ -0,0 +1,10 @@
+This file contains some design decissions for various things in this branch.
+
+ - Add probes only for locks which are acquired in one functions and released
+ in another function. Locks which are aquired and released in the same
+ function should be easy to pair in the code, wheras inter-function
+ locking is better checked in dtrace.
+ - Probes for locks should be fired after locking and before releasing to
+ prevent races (to provide data/function stability in dtrace, see the
+ output of "dtrace -v ..." and the corresponding dtrace docs).
+
Added: user/netchild/linuxulator-dtrace/README
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/netchild/linuxulator-dtrace/README Tue Nov 25 13:33:18 2008 (r185294)
@@ -0,0 +1 @@
+Branch to add some static dtrace probes into the linuxulator.
More information about the svn-src-user
mailing list