|
Linux Kernel
3.7.1
|
#include <linux/types.h>#include <linux/spinlock.h>#include <linux/workqueue.h>#include <linux/cache.h>#include <linux/sched.h>#include <linux/ring_buffer.h>Go to the source code of this file.
Data Structures | |
| struct | op_sample |
| struct | oprofile_cpu_buffer |
Macros | |
| #define | KERNEL_CTX_SWITCH (1UL << 0) |
| #define | IS_KERNEL (1UL << 1) |
| #define | TRACE_BEGIN (1UL << 2) |
| #define | USER_CTX_SWITCH (1UL << 3) |
Functions | |
| int | alloc_cpu_buffers (void) |
| void | free_cpu_buffers (void) |
| void | start_cpu_work (void) |
| void | end_cpu_work (void) |
| void | flush_cpu_work (void) |
| DECLARE_PER_CPU (struct oprofile_cpu_buffer, op_cpu_buffer) | |
| struct op_sample * | op_cpu_buffer_write_reserve (struct op_entry *entry, unsigned long size) |
| int | op_cpu_buffer_write_commit (struct op_entry *entry) |
| struct op_sample * | op_cpu_buffer_read_entry (struct op_entry *entry, int cpu) |
| unsigned long | op_cpu_buffer_entries (int cpu) |
Definition in file cpu_buffer.h.
| #define IS_KERNEL (1UL << 1) |
Definition at line 117 of file cpu_buffer.h.
| #define KERNEL_CTX_SWITCH (1UL << 0) |
Definition at line 116 of file cpu_buffer.h.
| #define TRACE_BEGIN (1UL << 2) |
Definition at line 118 of file cpu_buffer.h.
| #define USER_CTX_SWITCH (1UL << 3) |
Definition at line 119 of file cpu_buffer.h.
Definition at line 62 of file cpu_buffer.c.
| DECLARE_PER_CPU | ( | struct oprofile_cpu_buffer | , |
| op_cpu_buffer | |||
| ) |
Definition at line 112 of file cpu_buffer.c.
Definition at line 117 of file cpu_buffer.c.
Definition at line 53 of file cpu_buffer.c.
Definition at line 176 of file cpu_buffer.c.
Definition at line 161 of file cpu_buffer.c.
Definition at line 156 of file cpu_buffer.c.
Definition at line 142 of file cpu_buffer.c.
Definition at line 95 of file cpu_buffer.c.
1.8.2