Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
trace.c File Reference
#include <linux/kernel.h>
#include <linux/hardirq.h>
#include <linux/thread_info.h>
#include <linux/mm.h>
#include <linux/oom.h>
#include <linux/sched.h>
#include <linux/uaccess.h>
#include <linux/module.h>
#include <linux/kallsyms.h>
#include <linux/err.h>
#include <linux/fs.h>
#include <linux/irq.h>
#include <asm/dma.h>
#include <asm/trace.h>
#include <asm/fixed_code.h>
#include <asm/traps.h>
#include <asm/irq_handler.h>
#include <asm/pda.h>

Go to the source code of this file.

Macros

#define EXPAND_LEN   ((1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN) * 256 - 1)
 

Functions

void decode_address (char *buf, unsigned long address)
 
bool get_mem16 (unsigned short *val, unsigned short *address)
 
bool get_instruction (unsigned int *val, unsigned short *address)
 
void dump_bfin_trace_buffer (void)
 
 EXPORT_SYMBOL (dump_bfin_trace_buffer)
 
void dump_bfin_process (struct pt_regs *fp)
 
void dump_bfin_mem (struct pt_regs *fp)
 
void show_regs (struct pt_regs *fp)
 

Macro Definition Documentation

#define EXPAND_LEN   ((1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN) * 256 - 1)

Definition at line 192 of file trace.c.

Function Documentation

void decode_address ( char buf,
unsigned long  address 
)

Definition at line 28 of file trace.c.

void dump_bfin_mem ( struct pt_regs fp)

Definition at line 782 of file trace.c.

void dump_bfin_process ( struct pt_regs fp)

Definition at line 732 of file trace.c.

void dump_bfin_trace_buffer ( void  )

Definition at line 649 of file trace.c.

EXPORT_SYMBOL ( dump_bfin_trace_buffer  )
bool get_instruction ( unsigned int val,
unsigned short address 
)

Definition at line 222 of file trace.c.

bool get_mem16 ( unsigned short val,
unsigned short address 
)

Definition at line 198 of file trace.c.

void show_regs ( struct pt_regs fp)

Definition at line 846 of file trace.c.