This patch is based on previous work by Sony and Himanshu Chauhan. I have done some cleanup and implemented JProbes and KRETPROBES. The KRETPROBES part is pretty much copied verbatim from powerpc. A possible future enhance might be to factor out the common code. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Cc: Himanshu Chauhan <hschauhan@nulltrace.org> To: linux-mips@linux-mips.org To: ananth@in.ibm.com, To: anil.s.keshavamurthy@intel.com To: davem@davemloft.net To: masami.hiramatsu.pt@hitachi.com Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/1525/ Patchwork: https://patchwork.linux-mips.org/patch/1530/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			221 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			221 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef _ASM_MIPS_KDEBUG_H
 | 
						|
#define _ASM_MIPS_KDEBUG_H
 | 
						|
 | 
						|
#include <linux/notifier.h>
 | 
						|
 | 
						|
enum die_val {
 | 
						|
	DIE_OOPS = 1,
 | 
						|
	DIE_FP,
 | 
						|
	DIE_TRAP,
 | 
						|
	DIE_RI,
 | 
						|
	DIE_PAGE_FAULT,
 | 
						|
	DIE_BREAK,
 | 
						|
	DIE_SSTEPBP
 | 
						|
};
 | 
						|
 | 
						|
#endif /* _ASM_MIPS_KDEBUG_H */
 |