Linux Kernel
3.7.1
|
#include <linux/cpumask.h>
#include <linux/oprofile.h>
#include <asm/cell-pmu.h>
#include <asm/cell-regs.h>
#include <asm/spu.h>
Go to the source code of this file.
Data Structures | |
struct | spu_overlay_info |
struct | vma_to_fileoffset_map |
struct | spu_buffer |
Macros | |
#define | SKIP_GENERIC_SYNC 0 |
#define | SYNC_START_ERROR -1 |
#define | DO_GENERIC_SYNC 1 |
#define | SPUS_PER_NODE 8 |
#define | DEFAULT_TIMER_EXPIRE (HZ / 10) |
#define | TRACE_ARRAY_SIZE 1024 |
Functions | |
struct vma_to_fileoffset_map * | create_vma_map (const struct spu *spu, unsigned long objectid) |
unsigned int | vma_map_lookup (struct vma_to_fileoffset_map *map, unsigned int vma, const struct spu *aSpu, int *grd_val) |
void | vma_map_free (struct vma_to_fileoffset_map *map) |
int | start_spu_profiling_cycles (unsigned int cycles_reset) |
void | start_spu_profiling_events (void) |
void | stop_spu_profiling_cycles (void) |
void | stop_spu_profiling_events (void) |
int | spu_sync_start (void) |
int | spu_sync_stop (void) |
void | spu_sync_buffer (int spu_num, unsigned int *samples, int num_samples) |
void | set_spu_profiling_frequency (unsigned int freq_khz, unsigned int cycles_reset) |
Variables | |
struct delayed_work | spu_work |
int | spu_prof_running |
spinlock_t | oprof_spu_smpl_arry_lck |
|
read |
Definition at line 48 of file spu_profiler.c.
Definition at line 554 of file spu_task_sync.c.
Definition at line 510 of file spu_task_sync.c.
Definition at line 620 of file spu_task_sync.c.
Definition at line 202 of file spu_profiler.c.
Definition at line 233 of file spu_profiler.c.
Definition at line 241 of file spu_profiler.c.
Definition at line 249 of file spu_profiler.c.
void vma_map_free | ( | struct vma_to_fileoffset_map * | map | ) |
spinlock_t oprof_spu_smpl_arry_lck |
int spu_prof_running |
Definition at line 37 of file spu_profiler.c.
struct delayed_work spu_work |
Definition at line 41 of file spu_task_sync.c.