~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/trace/fault.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _TRACE_FAULT_H
2
 
#define _TRACE_FAULT_H
3
 
 
4
 
#include <linux/tracepoint.h>
5
 
 
6
 
DECLARE_TRACE(page_fault_entry,
7
 
        TP_PROTO(struct pt_regs *regs, int trapnr,
8
 
                        struct mm_struct *mm, struct vm_area_struct *vma,
9
 
                        unsigned long address, int write_access),
10
 
                TP_ARGS(regs, trapnr, mm, vma, address, write_access));
11
 
DECLARE_TRACE(page_fault_exit,
12
 
        TP_PROTO(int res),
13
 
                TP_ARGS(res));
14
 
DECLARE_TRACE(page_fault_nosem_entry,
15
 
        TP_PROTO(struct pt_regs *regs, int trapnr, unsigned long address),
16
 
                TP_ARGS(regs, trapnr, address));
17
 
DECLARE_TRACE_NOARGS(page_fault_nosem_exit);
18
 
DECLARE_TRACE(page_fault_get_user_entry,
19
 
        TP_PROTO(struct mm_struct *mm, struct vm_area_struct *vma,
20
 
                        unsigned long address, int write_access),
21
 
                TP_ARGS(mm, vma, address, write_access));
22
 
DECLARE_TRACE(page_fault_get_user_exit,
23
 
        TP_PROTO(int res),
24
 
                TP_ARGS(res));
25
 
#endif