summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/powerpc/include/asm/trace.h
diff options
context:
space:
mode:
authorSrikant Patnaik2015-01-11 12:28:04 +0530
committerSrikant Patnaik2015-01-11 12:28:04 +0530
commit871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch)
tree8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/arch/powerpc/include/asm/trace.h
parent9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff)
downloadFOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz
FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2
FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/arch/powerpc/include/asm/trace.h')
-rw-r--r--ANDROID_3.4.5/arch/powerpc/include/asm/trace.h133
1 files changed, 0 insertions, 133 deletions
diff --git a/ANDROID_3.4.5/arch/powerpc/include/asm/trace.h b/ANDROID_3.4.5/arch/powerpc/include/asm/trace.h
deleted file mode 100644
index cbe2297d..00000000
--- a/ANDROID_3.4.5/arch/powerpc/include/asm/trace.h
+++ /dev/null
@@ -1,133 +0,0 @@
-#undef TRACE_SYSTEM
-#define TRACE_SYSTEM powerpc
-
-#if !defined(_TRACE_POWERPC_H) || defined(TRACE_HEADER_MULTI_READ)
-#define _TRACE_POWERPC_H
-
-#include <linux/tracepoint.h>
-
-struct pt_regs;
-
-TRACE_EVENT(irq_entry,
-
- TP_PROTO(struct pt_regs *regs),
-
- TP_ARGS(regs),
-
- TP_STRUCT__entry(
- __field(struct pt_regs *, regs)
- ),
-
- TP_fast_assign(
- __entry->regs = regs;
- ),
-
- TP_printk("pt_regs=%p", __entry->regs)
-);
-
-TRACE_EVENT(irq_exit,
-
- TP_PROTO(struct pt_regs *regs),
-
- TP_ARGS(regs),
-
- TP_STRUCT__entry(
- __field(struct pt_regs *, regs)
- ),
-
- TP_fast_assign(
- __entry->regs = regs;
- ),
-
- TP_printk("pt_regs=%p", __entry->regs)
-);
-
-TRACE_EVENT(timer_interrupt_entry,
-
- TP_PROTO(struct pt_regs *regs),
-
- TP_ARGS(regs),
-
- TP_STRUCT__entry(
- __field(struct pt_regs *, regs)
- ),
-
- TP_fast_assign(
- __entry->regs = regs;
- ),
-
- TP_printk("pt_regs=%p", __entry->regs)
-);
-
-TRACE_EVENT(timer_interrupt_exit,
-
- TP_PROTO(struct pt_regs *regs),
-
- TP_ARGS(regs),
-
- TP_STRUCT__entry(
- __field(struct pt_regs *, regs)
- ),
-
- TP_fast_assign(
- __entry->regs = regs;
- ),
-
- TP_printk("pt_regs=%p", __entry->regs)
-);
-
-#ifdef CONFIG_PPC_PSERIES
-extern void hcall_tracepoint_regfunc(void);
-extern void hcall_tracepoint_unregfunc(void);
-
-TRACE_EVENT_FN(hcall_entry,
-
- TP_PROTO(unsigned long opcode, unsigned long *args),
-
- TP_ARGS(opcode, args),
-
- TP_STRUCT__entry(
- __field(unsigned long, opcode)
- ),
-
- TP_fast_assign(
- __entry->opcode = opcode;
- ),
-
- TP_printk("opcode=%lu", __entry->opcode),
-
- hcall_tracepoint_regfunc, hcall_tracepoint_unregfunc
-);
-
-TRACE_EVENT_FN(hcall_exit,
-
- TP_PROTO(unsigned long opcode, unsigned long retval,
- unsigned long *retbuf),
-
- TP_ARGS(opcode, retval, retbuf),
-
- TP_STRUCT__entry(
- __field(unsigned long, opcode)
- __field(unsigned long, retval)
- ),
-
- TP_fast_assign(
- __entry->opcode = opcode;
- __entry->retval = retval;
- ),
-
- TP_printk("opcode=%lu retval=%lu", __entry->opcode, __entry->retval),
-
- hcall_tracepoint_regfunc, hcall_tracepoint_unregfunc
-);
-#endif
-
-#endif /* _TRACE_POWERPC_H */
-
-#undef TRACE_INCLUDE_PATH
-#undef TRACE_INCLUDE_FILE
-
-#define TRACE_INCLUDE_PATH asm
-#define TRACE_INCLUDE_FILE trace
-
-#include <trace/define_trace.h>