2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00
linux-next/drivers/oprofile
Bob Nelson 1474855d08 [CELL] oprofile: add support to OProfile for profiling CELL BE SPUs
From: Maynard Johnson <mpjohn@us.ibm.com>

This patch updates the existing arch/powerpc/oprofile/op_model_cell.c
to add in the SPU profiling capabilities.  In addition, a 'cell' subdirectory
was added to arch/powerpc/oprofile to hold Cell-specific SPU profiling code.
Exports spu_set_profile_private_kref and spu_get_profile_private_kref which
are used by OProfile to store private profile information in spufs data
structures.

Also incorporated several fixes from other patches (rrn).  Check pointer
returned from kzalloc.  Eliminated unnecessary cast.  Better error
handling and cleanup in the related area.  64-bit unsigned long parameter
was being demoted to 32-bit unsigned int and eventually promoted back to
unsigned long.

Signed-off-by: Carl Love <carll@us.ibm.com>
Signed-off-by: Maynard Johnson <mpjohn@us.ibm.com>
Signed-off-by: Bob Nelson <rrnelson@us.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Acked-by: Paul Mackerras <paulus@samba.org>
2007-07-20 21:42:24 +02:00
..
buffer_sync.c [CELL] oprofile: add support to OProfile for profiling CELL BE SPUs 2007-07-20 21:42:24 +02:00
buffer_sync.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpu_buffer.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
cpu_buffer.h WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
event_buffer.c [PATCH] oprofile: fix potential deadlock on oprofilefs_lock 2007-03-28 13:58:02 -07:00
event_buffer.h [CELL] oprofile: add support to OProfile for profiling CELL BE SPUs 2007-07-20 21:42:24 +02:00
oprof.c [CELL] oprofile: add support to OProfile for profiling CELL BE SPUs 2007-07-20 21:42:24 +02:00
oprof.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oprofile_files.c [PATCH] mark struct file_operations const 5 2007-02-12 09:48:45 -08:00
oprofile_stats.c [PATCH] for_each_possible_cpu: oprofile. 2006-03-28 09:16:05 -08:00
oprofile_stats.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oprofilefs.c [PATCH] oprofile: fix potential deadlock on oprofilefs_lock 2007-03-28 13:58:02 -07:00
timer_int.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00