Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
base.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include "gcov.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   "gcov: " fmt
 

Functions

void __gcov_init (struct gcov_info *info)
 
 EXPORT_SYMBOL (__gcov_init)
 
void __gcov_flush (void)
 
 EXPORT_SYMBOL (__gcov_flush)
 
void __gcov_merge_add (gcov_type *counters, unsigned int n_counters)
 
 EXPORT_SYMBOL (__gcov_merge_add)
 
void __gcov_merge_single (gcov_type *counters, unsigned int n_counters)
 
 EXPORT_SYMBOL (__gcov_merge_single)
 
void __gcov_merge_delta (gcov_type *counters, unsigned int n_counters)
 
 EXPORT_SYMBOL (__gcov_merge_delta)
 
void gcov_enable_events (void)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    "gcov: " fmt

Definition at line 16 of file base.c.

Function Documentation

void __gcov_flush ( void  )

Definition at line 60 of file base.c.

void __gcov_init ( struct gcov_info info)

Definition at line 31 of file base.c.

void __gcov_merge_add ( gcov_type counters,
unsigned int  n_counters 
)

Definition at line 66 of file base.c.

void __gcov_merge_delta ( gcov_type counters,
unsigned int  n_counters 
)

Definition at line 78 of file base.c.

void __gcov_merge_single ( gcov_type counters,
unsigned int  n_counters 
)

Definition at line 72 of file base.c.

EXPORT_SYMBOL ( __gcov_init  )
EXPORT_SYMBOL ( __gcov_flush  )
EXPORT_SYMBOL ( __gcov_merge_add  )
EXPORT_SYMBOL ( __gcov_merge_single  )
EXPORT_SYMBOL ( __gcov_merge_delta  )
void gcov_enable_events ( void  )

gcov_enable_events - enable event reporting through gcov_event()

Turn on reporting of profiling data load/unload-events through the gcov_event() callback. Also replay all previous events once. This function is needed because some events are potentially generated too early for the callback implementation to handle them initially.

Definition at line 92 of file base.c.