1
linux/arch/powerpc/platforms
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
..
4xx
8xx
82xx POWERPC: mpc82xx merge: board-specific/platform stuff(resend) 2006-10-03 21:36:14 +04:00
83xx Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/configh 2006-10-04 09:59:57 -07:00
85xx Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
86xx Merge branch 'linux-2.6' 2006-09-14 07:07:18 +10:00
apus
cell [POWERPC] spufs: add infrastructure for finding elf objects 2006-10-05 09:21:02 +10:00
chrp [POWERPC] chrp: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
embedded6xx Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
iseries Merge branch 'master' of git://oak/home/sfr/kernels/iseries/work 2006-10-04 15:02:27 +10:00
maple [POWERPC] maple/pci iomem annotations 2006-09-26 15:41:02 +10:00
pasemi Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
powermac [POWERPC] Get default baud rate in udbg_scc 2006-10-04 14:52:31 +10:00
prep
pseries [POWERPC] Fix a printk in pseries_mpic_init_IRQ 2006-10-04 14:52:35 +10:00
Makefile [POWERPC] powerpc: PA Semi PWRficient platform support 2006-09-13 18:39:53 +10:00