Hello,
I am working at Toshiba with Uchikawa and Azuma on porting perfmon2 to Toshiba
Cell platform.
I send patches applied to libpfm for Cell performance monitoring.
Libpfm gets registers setting value and measures CPU events by setting event
name.
These patches only include 'PPE signal group(Thread0)' events.
- To 'make', ARCH, CC and AR need to be set as below.
make ARCH=cell CC=ppu-gcc AR=ppu-ar
1/5
pfmlib_cell.c: Base Cell support for libpfm. It treats Cell specific processing
as creating PM registers value, checking available event combination and so on.
pfmlib_common.c uses this file.
2/5
cell_events.h: Cell PM event definitions. Only 'PPE signal group(Thread0)'
events are included.
(Note: Because the event names are created from oprofile event file
automatically, some character gaps etc. exist.)
3/5
pfmlib_cell_priv.h: definitions of register IDs and structures for event table
operation etc.
pfmlib_cell.h : definitions of structures for libpfm API arguments
4/5
Add Cell support to common header files
perfmon.h, pfmlib.h :add parameter definitions
pfmlib_comp.h, pfmlib_os.h :add include files
pfmlib_priv.h, pfmlib_common.c :add structure definitions
5/5
Add Cell support to config.mk and Makefiles To 'make', ARCH, CC and AR need to
be set as below.
make ARCH=cell CC=ppu-gcc AR=ppu-ar
Thanks,
--Yoshio Funayama
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/