Re: [PATCH 0/9] Performance counters for POWER

From: Paul Mackerras
Date: Fri Jan 09 2009 - 18:45:47 EST


Ingo Molnar writes:

> Do timec.c and kerneltop.c work fine for you by any chance? If yes, could
> you send us some sample output that you get with them on your power
> testbox(es)?

timec.c works with some minor modifications. I'll post my version in
a separate message. The main difference is that syscall() on powerpc
returns -1 on error and sets errno, rather than returning a negative
error number. I also added a way to specify raw events.

I haven't looked in detail at kerneltop.c yet. I have done a small
test program that exercises interrupt counters though.

> Also, would this be the right moment for me to pull from you?

Actually, I have discovered some bugs, so I'll need to do new versions
of 7/9 and 8/9. I'll let you know when I have redone the git tree.

Paul.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/