linux/arch/powerpc/platforms/cell
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
..
spufs [POWERPC] spufs: add infrastructure for finding elf objects 2006-10-05 09:21:02 +10:00
cbe_regs.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
cbe_regs.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
interrupt.c [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
interrupt.h [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
iommu.c [POWERPC] cell: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
iommu.h [PATCH] powerpc: move arch/ppc64/kernel/bpa* to arch/powerpc/platforms/cell 2005-11-01 21:03:07 +11:00
Kconfig [POWERPC] spufs: cell spu problem state mapping updates 2006-10-05 09:21:00 +10:00
Makefile [POWERPC] spufs: split the Cell BE support into generic and platform dependant parts 2006-06-21 15:01:31 +10:00
pervasive.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pervasive.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
ras.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
ras.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
setup.c [POWERPC] powerpc: Make RTAS console init generic 2006-08-25 13:27:35 +10:00
smp.c [POWERPC] Cleanup CPU inits 2006-08-25 13:27:35 +10:00
spider-pic.c [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
spu_base.c [POWERPC] spufs: support new OF device tree format 2006-10-05 09:21:01 +10:00
spu_callbacks.c [POWERPC] Unify ppc syscall tables 2006-06-21 15:01:32 +10:00
spu_priv1_mmio.c [POWERPC] spufs: fix spu irq affinity setting 2006-06-21 15:01:31 +10:00
spu_syscalls.c [PATCH] spufs: fix module refcount race 2006-01-09 14:53:11 +11:00