Linux Kernel
3.7.1
|
#include <linux/export.h>
#include <linux/profile.h>
#include <linux/bootmem.h>
#include <linux/notifier.h>
#include <linux/mm.h>
#include <linux/cpumask.h>
#include <linux/cpu.h>
#include <linux/highmem.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <asm/sections.h>
#include <asm/irq_regs.h>
#include <asm/ptrace.h>
Go to the source code of this file.
Data Structures | |
struct | profile_hit |
Macros | |
#define | PROFILE_GRPSHIFT 3 |
#define | PROFILE_GRPSZ (1 << PROFILE_GRPSHIFT) |
#define | NR_PROFILE_HIT (PAGE_SIZE/sizeof(struct profile_hit)) |
#define | NR_PROFILE_GRP (NR_PROFILE_HIT/PROFILE_GRPSZ) |
#define | profile_flip_buffers() do { } while (0) |
#define | profile_discard_flip_buffers() do { } while (0) |
#define | profile_cpu_callback NULL |
Functions | |
__setup ("profile=", profile_setup) | |
int __ref | profile_init (void) |
void | profile_task_exit (struct task_struct *task) |
int | profile_handoff_task (struct task_struct *task) |
void | profile_munmap (unsigned long addr) |
int | task_handoff_register (struct notifier_block *n) |
EXPORT_SYMBOL_GPL (task_handoff_register) | |
int | task_handoff_unregister (struct notifier_block *n) |
EXPORT_SYMBOL_GPL (task_handoff_unregister) | |
int | profile_event_register (enum profile_type type, struct notifier_block *n) |
EXPORT_SYMBOL_GPL (profile_event_register) | |
int | profile_event_unregister (enum profile_type type, struct notifier_block *n) |
EXPORT_SYMBOL_GPL (profile_event_unregister) | |
int | register_timer_hook (int(*hook)(struct pt_regs *)) |
EXPORT_SYMBOL_GPL (register_timer_hook) | |
void | unregister_timer_hook (int(*hook)(struct pt_regs *)) |
EXPORT_SYMBOL_GPL (unregister_timer_hook) | |
void | profile_hits (int type, void *__pc, unsigned int nr_hits) |
EXPORT_SYMBOL_GPL (profile_hits) | |
void | profile_tick (int type) |
#define NR_PROFILE_GRP (NR_PROFILE_HIT/PROFILE_GRPSZ) |
#define NR_PROFILE_HIT (PAGE_SIZE/sizeof(struct profile_hit)) |
#define PROFILE_GRPSZ (1 << PROFILE_GRPSHIFT) |
__setup | ( | ) |
EXPORT_SYMBOL_GPL | ( | task_handoff_register | ) |
EXPORT_SYMBOL_GPL | ( | task_handoff_unregister | ) |
EXPORT_SYMBOL_GPL | ( | profile_event_register | ) |
EXPORT_SYMBOL_GPL | ( | profile_event_unregister | ) |
EXPORT_SYMBOL_GPL | ( | register_timer_hook | ) |
EXPORT_SYMBOL_GPL | ( | unregister_timer_hook | ) |
EXPORT_SYMBOL_GPL | ( | profile_hits | ) |
int profile_event_register | ( | enum profile_type | type, |
struct notifier_block * | n | ||
) |
int profile_event_unregister | ( | enum profile_type | type, |
struct notifier_block * | n | ||
) |
int profile_handoff_task | ( | struct task_struct * | task | ) |
void profile_task_exit | ( | struct task_struct * | task | ) |
int task_handoff_register | ( | struct notifier_block * | n | ) |
int task_handoff_unregister | ( | struct notifier_block * | n | ) |