]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: additional action support (and bug fixes)
authorKris Van Hees <kris.van.hees@oracle.com>
Sun, 9 Sep 2012 21:34:48 +0000 (17:34 -0400)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:40:33 +0000 (22:40 +0100)
commit57d86d9aeb5e0fbff2ba37085556c3da063e3306
tree5da931f5bd744a25236da33d419d80f44d04c697
parente97ad59a3e37b73b88751cab56335770c64a3970
dtrace: additional action support (and bug fixes)

Removed ASSIST_* definitions because they are no longer necessary (though they
may come back in the future).

Changed the behaviour of DTrace in interrupt context to base it on in_irq()
rather than in_interrupt().

On Linux it is always safe to dereference current, so there is no need to do
special casing on various process-based DIF functions.  There is no need to
fake values coming from the 0-pid process.

Added curcpu variables.

Added d_path() function.  This takes a struct path and turns it into a string.

Renumbered the register IDs to match the xlator support at userspace, and to
also match the on-stack order of registers.

Have dtrace_getreg() operate on the task rather than just a set of registers,
because (in 64-bit mode) segment registers have their value stored in fields
in the process-specific task info.

Implemented the raise() action.

Changed the deadman interal to 10s, and timeout/user to 120s.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
include/linux/dtrace_os.h