]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: migrate stacktrace dumping and move headers about: fix reloc overrun
authorKris Van Hees <kris.van.hees@oracle.com>
Fri, 14 Oct 2011 02:42:27 +0000 (22:42 -0400)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:39:56 +0000 (22:39 +0100)
commit4260cf5624164e6532f1a6dc374c70d88d7b9665
treece38b71a04f83b77f91373165a720c3de8776c81
parent9e9c91b26749bb5be663f31e0b09b0f1d7c2c85d
dtrace: migrate stacktrace dumping and move headers about: fix reloc overrun

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>
include/linux/dtrace_os.h [moved from kernel/dtrace/systrace_os.h with 68% similarity]
kernel/dtrace/dtrace_os.c
scripts/dtrace_relocs.c