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

Go to the source code of this file.

Macros

#define STACK_TRACE_ENTRIES   500
 

Functions

int stack_trace_sysctl (struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)
 
 __setup ("stacktrace", enable_stacktrace)
 
 device_initcall (stack_trace_init)
 

Variables

int stack_tracer_enabled
 

Macro Definition Documentation

#define STACK_TRACE_ENTRIES   500

Definition at line 21 of file trace_stack.c.

Function Documentation

__setup ( "stacktrace"  ,
enable_stacktrace   
)
device_initcall ( stack_trace_init  )
int stack_trace_sysctl ( struct ctl_table table,
int  write,
void __user buffer,
size_t lenp,
loff_t *  ppos 
)

Definition at line 334 of file trace_stack.c.

Variable Documentation

int stack_tracer_enabled

Definition at line 40 of file trace_stack.c.