Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
trace.c File Reference
#include <linux/resume-trace.h>
#include <linux/export.h>
#include <linux/rtc.h>
#include <asm/rtc.h>
#include "power.h"

Go to the source code of this file.

Macros

#define USERHASH   (16)
 
#define FILEHASH   (997)
 
#define DEVHASH   (1009)
 
#define DEVSEED   (7919)
 

Functions

void set_trace_device (struct device *dev)
 
 EXPORT_SYMBOL (set_trace_device)
 
void generate_resume_trace (const void *tracedata, unsigned int user)
 
 EXPORT_SYMBOL (generate_resume_trace)
 
int show_trace_dev_match (char *buf, size_t size)
 
 core_initcall (early_resume_init)
 
 late_initcall (late_resume_init)
 

Variables

char __tracedata_start
 
char __tracedata_end
 

Macro Definition Documentation

#define DEVHASH   (1009)

Definition at line 73 of file trace.c.

#define DEVSEED   (7919)

Definition at line 75 of file trace.c.

#define FILEHASH   (997)

Definition at line 72 of file trace.c.

#define USERHASH   (16)

Definition at line 71 of file trace.c.

Function Documentation

core_initcall ( early_resume_init  )
EXPORT_SYMBOL ( set_trace_device  )
EXPORT_SYMBOL ( generate_resume_trace  )
void generate_resume_trace ( const void tracedata,
unsigned int  user 
)

Definition at line 157 of file trace.c.

late_initcall ( late_resume_init  )
void set_trace_device ( struct device dev)

Definition at line 142 of file trace.c.

int show_trace_dev_match ( char buf,
size_t  size 
)

Definition at line 211 of file trace.c.

Variable Documentation

char __tracedata_end
char __tracedata_start