]> www.infradead.org Git - users/jedix/linux-maple.git/log
users/jedix/linux-maple.git
13 years agoRemoved dead code (was #if 0 ... #endif). Cleaned up ;; -> ;.
Kris Van Hees [Thu, 27 Oct 2011 15:18:38 +0000 (11:18 -0400)]
Removed dead code (was #if 0 ... #endif).  Cleaned up ;; -> ;.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
13 years agoImplementation for tracing stub-based system calls. Due to the need for
Kris Van Hees [Thu, 27 Oct 2011 14:39:19 +0000 (10:39 -0400)]
Implementation for tracing stub-based system calls.  Due to the need for
specialized code handling (mainly passing in a pt_regs structure as one of
the arguments), some syscalls are called through a stub in assembly code.
We duplicate the stub cdode in dtrace_stubs_x86_64.S, but instead of calling
the actual syscall implementation code call our own syscall-specific handler,
which ensures that entry and return probes are called as enabled, and then
call the underlying implementation directly for handling the syscall.

Also removed debugging output that is no longer relevant (code cleanup).

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
13 years agoStacktrace dumping has been moved to the GPL-licensed dtrace_os.c because it
Kris Van Hees [Fri, 14 Oct 2011 02:42:27 +0000 (22:42 -0400)]
Stacktrace dumping has been moved to the GPL-licensed dtrace_os.c because it
depends on a symbol that is exported as GPL-only.  Functionality in dtrace_isa
that requires stacktrace dumping can now use dtrace_stacktrace().

The GPL-licensed dtrace_os.h C header file is now made available through the
/include/linux hierarchy, and it is included in dtrace.h.

Fixed a bug in dtrace_relocs.c where section names where copied into a memory
area that was 1 byte short, causing various unpleasant forms of behaviour.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
13 years agoFix porting issues from 2.6.32 to 2.6.39.
Kris Van Hees [Thu, 13 Oct 2011 16:45:48 +0000 (12:45 -0400)]
Fix porting issues from 2.6.32 to 2.6.39.
Disable stub_* based syscalls (for now).

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
13 years agoMove cyclic.h into include/linux.
Nick Alcock [Tue, 4 Oct 2011 11:58:17 +0000 (12:58 +0100)]
Move cyclic.h into include/linux.

This is so that things in dtrace/ can pick it up.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
13 years agoFinish GPL/CDDL splitting work.
Nick Alcock [Mon, 3 Oct 2011 16:20:15 +0000 (17:20 +0100)]
Finish GPL/CDDL splitting work.

kernel/dtrace and all that it #includes is now GPLv2, with the aid of a new
systrace_os.h header containing the subset of systrace.h needed by the GPL shim.
Conversely, dtrace/ is entirely CDDL.

dtrace_ioctl.h is now an exported, header in include/linux/, to ease future
sharing by the userspace side. It is probably not copyrightable (as is essential
for interoperability and contains no creative elements), but if it has any license
at all it is GPLv2 like the other headers in that directory (many of which are
include them.)

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
13 years agoSet MODULE_LICENSE to CDDL.
Nick Alcock [Fri, 30 Sep 2011 18:39:22 +0000 (19:39 +0100)]
Set MODULE_LICENSE to CDDL.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
13 years agoCDDL copyrights for everything needing it.
Nick Alcock [Fri, 30 Sep 2011 18:29:33 +0000 (19:29 +0100)]
CDDL copyrights for everything needing it.

The stuff in kernel/dtrace gets just a (C) line: dual-licensed parts will need
further adjustment.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
13 years agoInitial commit of DTrace.
Nick Alcock [Fri, 30 Sep 2011 17:55:09 +0000 (18:55 +0100)]
Initial commit of DTrace.

Build via a simple 'make' if you're already running this kernel, or via 'make
KERNELDIR=/path/to/kernel/top/level' otherwise. Installed via 'make install'.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>