linux/arch/powerpc/platforms/cell/spufs
Arnd Bergmann 8676727779 [POWERPC] spufs: add infrastructure for finding elf objects
This adds an 'object-id' file that the spe library can
use to store a pointer to its ELF object. This was
originally meant for use by oprofile, but is now
also used by the GNU debugger, if available.

In order for oprofile to find the location in an spu-elf
binary where an event counter triggered, we need a way
to identify the binary in the first place.

Unfortunately, that binary itself can be embedded in a
powerpc ELF binary. Since we can assume it is mapped into
the effective address space of the running process,
have that one write the pointer value into a new spufs
file.

When a context switch occurs, pass the user value to
the profiler so that can look at the mapped file (with
some care).

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-05 09:21:02 +10:00
..
backing_ops.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
context.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
file.c [POWERPC] spufs: add infrastructure for finding elf objects 2006-10-05 09:21:02 +10:00
gang.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
hw_ops.c [POWERPC] cell spufs iomem annotations 2006-09-26 15:25:33 +10:00
inode.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
Makefile [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
run.c [POWERPC] spufs: implement error event delivery to user space 2006-10-05 09:21:01 +10:00
sched.c [POWERPC] spufs: add infrastructure for finding elf objects 2006-10-05 09:21:02 +10:00
spu_restore_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_restore_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_restore.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_save.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_utils.h [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spufs.h [POWERPC] spufs: add infrastructure for finding elf objects 2006-10-05 09:21:02 +10:00
switch.c [POWERPC] spufs: fix context switch during page fault 2006-10-05 09:21:01 +10:00
syscalls.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00