Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
trace_irqsoff.c File Reference
#include <linux/kallsyms.h>
#include <linux/debugfs.h>
#include <linux/uaccess.h>
#include <linux/module.h>
#include <linux/ftrace.h>
#include <linux/fs.h>
#include "trace.h"

Go to the source code of this file.

Macros

#define preempt_trace()   (0)
 
#define irq_trace()   (0)
 
#define TRACE_DISPLAY_GRAPH   1
 
#define is_graph()   (tracer_flags.val & TRACE_DISPLAY_GRAPH)
 
#define __trace_function   trace_function
 
#define register_irqsoff(trace)   do { } while (0)
 
#define register_preemptoff(trace)   do { } while (0)
 
#define register_preemptirqsoff(trace)   do { } while (0)
 

Enumerations

enum  { TRACER_IRQS_OFF = (1 << 1), TRACER_PREEMPT_OFF = (1 << 2) }
 

Functions

void start_critical_timings (void)
 
 EXPORT_SYMBOL_GPL (start_critical_timings)
 
void stop_critical_timings (void)
 
 EXPORT_SYMBOL_GPL (stop_critical_timings)
 
 device_initcall (init_irqsoff_tracer)
 

Macro Definition Documentation

#define __trace_function   trace_function

Definition at line 266 of file trace_irqsoff.c.

#define irq_trace ( )    (0)

Definition at line 58 of file trace_irqsoff.c.

#define is_graph ( )    (tracer_flags.val & TRACE_DISPLAY_GRAPH)

Definition at line 76 of file trace_irqsoff.c.

#define preempt_trace ( )    (0)

Definition at line 47 of file trace_irqsoff.c.

#define register_irqsoff (   trace)    do { } while (0)

Definition at line 621 of file trace_irqsoff.c.

#define register_preemptirqsoff (   trace)    do { } while (0)

Definition at line 690 of file trace_irqsoff.c.

#define register_preemptoff (   trace)    do { } while (0)

Definition at line 654 of file trace_irqsoff.c.

#define TRACE_DISPLAY_GRAPH   1

Definition at line 61 of file trace_irqsoff.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
TRACER_IRQS_OFF 
TRACER_PREEMPT_OFF 

Definition at line 28 of file trace_irqsoff.c.

Function Documentation

device_initcall ( init_irqsoff_tracer  )
EXPORT_SYMBOL_GPL ( start_critical_timings  )
EXPORT_SYMBOL_GPL ( stop_critical_timings  )
void start_critical_timings ( void  )

Definition at line 437 of file trace_irqsoff.c.

void stop_critical_timings ( void  )

Definition at line 444 of file trace_irqsoff.c.