Skip to content

RFC OProfile for Cell: Initial profiling support

Maynard Johnson lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2OProfile for Cell: Initial profiling supportarch/powerpc/oprofile/cell/perf_utils.h+113 -00 replies
2/2OProfile for Cell: Initial profiling supportarch/powerpc/configs/cell_defconfig arch/powerpc/kernel/cputable.c arch/powerpc/oprofile/Makefile +4 more+642 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC, PATCH 0/2] OProfile for Cell: Initial profiling support

Hello,
I will be posting two patches that provide the necessary changes to support OProfile on Cell. These patches enable profiling of events from the PPU and other islands of the CBE, with the exception of the SPUs. A separate patch for profiling SPUs will be posted at a future date.

The first patch is a utility header file containing macros, declarations, etc, used by our OProfile implementation. It is placed in a "cell" subdirectory of arch/powerpc/oprofile since the planned future SPU patch will also be placed in this subdirectory and will #include this header file. So it made sense to not clutter up the arch/powerpc/oprofile directory with anymore arch-specific stuff than is necessary.

The second patch contains the bulk of the functionality, most of which is in the new file, arch/powerpc/oprofile/op_model_cell.c.

These two patches rely on the patches Kevin Corry submitted to this list on Nov 9 (subject "Oprofile-on-Cell prereqs").

Thanks for taking the time to review these patches.

Maynard Johnson
IBM LTC Power Linux Toolchain
507-253-2650