From 57d86d9aeb5e0fbff2ba37085556c3da063e3306 Mon Sep 17 00:00:00 2001 From: Kris Van Hees Date: Sun, 9 Sep 2012 17:34:48 -0400 Subject: [PATCH] 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 --- include/linux/dtrace_os.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/dtrace_os.h b/include/linux/dtrace_os.h index 4076a7bdde83..3b2dcb286604 100644 --- a/include/linux/dtrace_os.h +++ b/include/linux/dtrace_os.h @@ -5,11 +5,6 @@ #include -#define ASSIST_PR_PSARGS 0 -#define ASSIST_PR_ARGC 1 -#define ASSIST_PR_ARGV 2 -#define ASSIST_PR_ENVP 3 - #define PR_PSARGS_SZ 80 typedef struct dtrace_psinfo { -- 2.50.1