Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
timer_list.c File Reference
#include <linux/proc_fs.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
#include <linux/kallsyms.h>
#include <linux/tick.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Macros

#define SEQ_printf(m, x...)
 
#define P(x)
 
#define P_ns(x)
 

Typedefs

typedef void(* print_fn_t )(struct seq_file *m, unsigned int *classes)
 

Functions

 DECLARE_PER_CPU (struct hrtimer_cpu_base, hrtimer_bases)
 
void sysrq_timer_list_show (void)
 
 __initcall (init_timer_list_procfs)
 

Macro Definition Documentation

#define P (   x)
Value:
SEQ_printf(m, " .%-15s: %Lu\n", #x, \
(unsigned long long)(cpu_base->x))
#define P_ns (   x)
Value:
SEQ_printf(m, " .%-15s: %Lu nsecs\n", #x, \
(unsigned long long)(ktime_to_ns(cpu_base->x)))
#define SEQ_printf (   m,
  x... 
)
Value:
do { \
if (m) \
seq_printf(m, x); \
} while (0)

Definition at line 31 of file timer_list.c.

Typedef Documentation

typedef void(* print_fn_t)(struct seq_file *m, unsigned int *classes)

Definition at line 23 of file timer_list.c.

Function Documentation

__initcall ( init_timer_list_procfs  )
DECLARE_PER_CPU ( struct hrtimer_cpu_base  ,
hrtimer_bases   
)
void sysrq_timer_list_show ( void  )

Definition at line 275 of file timer_list.c.