Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
perfmon_default_smpl.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/init.h>
#include <asm/delay.h>
#include <linux/smp.h>
#include <asm/perfmon.h>
#include <asm/perfmon_default_smpl.h>

Go to the source code of this file.

Macros

#define DEFAULT_DEBUG   1
 
#define DPRINT(a)
 
#define DPRINT_ovfl(a)
 

Functions

 MODULE_AUTHOR ("Stephane Eranian <[email protected]>")
 
 MODULE_DESCRIPTION ("perfmon default sampling format")
 
 MODULE_LICENSE ("GPL")
 
 module_init (pfm_default_smpl_init_module)
 
 module_exit (pfm_default_smpl_cleanup_module)
 

Macro Definition Documentation

#define DEFAULT_DEBUG   1

Definition at line 22 of file perfmon_default_smpl.c.

#define DPRINT (   a)
Value:
do { \
if (unlikely(pfm_sysctl.debug >0)) { printk("%s.%d: CPU%d ", __func__, __LINE__, smp_processor_id()); printk a; } \
} while (0)

Definition at line 25 of file perfmon_default_smpl.c.

#define DPRINT_ovfl (   a)
Value:
do { \
if (unlikely(pfm_sysctl.debug > 0 && pfm_sysctl.debug_ovfl >0)) { printk("%s.%d: CPU%d ", __func__, __LINE__, smp_processor_id()); printk a; } \
} while (0)

Definition at line 30 of file perfmon_default_smpl.c.

Function Documentation

MODULE_AUTHOR ( "Stephane Eranian <[email protected]>"  )
MODULE_DESCRIPTION ( "perfmon default sampling format )
module_exit ( pfm_default_smpl_cleanup_module  )
module_init ( pfm_default_smpl_init_module  )
MODULE_LICENSE ( "GPL"  )