Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
tracepoint.c File Reference
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/types.h>
#include <linux/jhash.h>
#include <linux/list.h>
#include <linux/rcupdate.h>
#include <linux/tracepoint.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/static_key.h>

Go to the source code of this file.

Data Structures

struct  tracepoint_entry
 
struct  tp_probes
 

Macros

#define TRACEPOINT_HASH_BITS   6
 
#define TRACEPOINT_TABLE_SIZE   (1 << TRACEPOINT_HASH_BITS)
 

Functions

void module_update_tracepoints (void)
 

Variables

struct tracepoint *const __start___tracepoints_ptrs []
 
struct tracepoint *const __stop___tracepoints_ptrs []
 

: tracepoint name

tracepoint_probe_unregister_noupdate - remove a probe but not disconnect

: probe function pointer

caller must call tracepoint_probe_update_all()

int tracepoint_probe_register (const char *name, void *probe, void *data)
 
 EXPORT_SYMBOL_GPL (tracepoint_probe_register)
 
int tracepoint_probe_unregister (const char *name, void *probe, void *data)
 
 EXPORT_SYMBOL_GPL (tracepoint_probe_unregister)
 
int tracepoint_probe_register_noupdate (const char *name, void *probe, void *data)
 
 EXPORT_SYMBOL_GPL (tracepoint_probe_register_noupdate)
 
int tracepoint_probe_unregister_noupdate (const char *name, void *probe, void *data)
 
 EXPORT_SYMBOL_GPL (tracepoint_probe_unregister_noupdate)
 
void tracepoint_probe_update_all (void)
 
 EXPORT_SYMBOL_GPL (tracepoint_probe_update_all)
 
void tracepoint_iter_start (struct tracepoint_iter *iter)
 
 EXPORT_SYMBOL_GPL (tracepoint_iter_start)
 
void tracepoint_iter_next (struct tracepoint_iter *iter)
 
 EXPORT_SYMBOL_GPL (tracepoint_iter_next)
 
void tracepoint_iter_stop (struct tracepoint_iter *iter)
 
 EXPORT_SYMBOL_GPL (tracepoint_iter_stop)
 
void tracepoint_iter_reset (struct tracepoint_iter *iter)
 
 EXPORT_SYMBOL_GPL (tracepoint_iter_reset)
 

Macro Definition Documentation

#define TRACEPOINT_HASH_BITS   6

Definition at line 51 of file tracepoint.c.

#define TRACEPOINT_TABLE_SIZE   (1 << TRACEPOINT_HASH_BITS)

Definition at line 52 of file tracepoint.c.

Function Documentation

EXPORT_SYMBOL_GPL ( tracepoint_probe_register  )
EXPORT_SYMBOL_GPL ( tracepoint_probe_unregister  )
EXPORT_SYMBOL_GPL ( tracepoint_probe_register_noupdate  )
EXPORT_SYMBOL_GPL ( tracepoint_probe_unregister_noupdate  )
EXPORT_SYMBOL_GPL ( tracepoint_probe_update_all  )
EXPORT_SYMBOL_GPL ( tracepoint_iter_start  )
EXPORT_SYMBOL_GPL ( tracepoint_iter_next  )
EXPORT_SYMBOL_GPL ( tracepoint_iter_stop  )
EXPORT_SYMBOL_GPL ( tracepoint_iter_reset  )
void module_update_tracepoints ( void  )

Definition at line 332 of file tracepoint.c.

void tracepoint_iter_next ( struct tracepoint_iter iter)

Definition at line 604 of file tracepoint.c.

void tracepoint_iter_reset ( struct tracepoint_iter iter)

Definition at line 621 of file tracepoint.c.

void tracepoint_iter_start ( struct tracepoint_iter iter)

Definition at line 598 of file tracepoint.c.

void tracepoint_iter_stop ( struct tracepoint_iter iter)

Definition at line 616 of file tracepoint.c.

int tracepoint_probe_register ( const char name,
void probe,
void data 
)

Definition at line 377 of file tracepoint.c.

int tracepoint_probe_register_noupdate ( const char name,
void probe,
void data 
)

Definition at line 458 of file tracepoint.c.

int tracepoint_probe_unregister ( const char name,
void probe,
void data 
)

Definition at line 421 of file tracepoint.c.

int tracepoint_probe_unregister_noupdate ( const char name,
void probe,
void data 
)

Definition at line 482 of file tracepoint.c.

void tracepoint_probe_update_all ( void  )

tracepoint_probe_update_all - update tracepoints

Definition at line 502 of file tracepoint.c.

Variable Documentation

struct tracepoint* const __start___tracepoints_ptrs[]
struct tracepoint* const __stop___tracepoints_ptrs[]