Hi Stephane,

Working on the POWER6 port to the minimal perfmon2, I ran across a problem
that there is a gap in the syscall numbering, and on POWER arch this is
causing a problem because the check scripts expect that the numbering is
monotonic (no gaps).

The two solutions that come to mind are to introduce a set of
pfm_reserved_1, pfm_reserved_2, etc. system calls, so that the gap is
filled in (which then means I need dummy routines defined somewhere).  Or I
could just compress out the gap, and add the other syscall numbers later,
possibly after other newly-introduced, non-perfmon syscalls.

A third solution requiring changing the scripts to be tolerant of gaps
sounds like an uphill battle, so I'd rather not go in that direction.

What do you think?  Personally, I'm leaning in favor of pfm_reserved_1,
etc., but we may have a difficult time getting that accepted by the LKML
folks.

- Corey


Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
503-578-3507
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to