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

From: Ingo Molnar
Date: Sat Jan 10 2009 - 20:48:45 EST



* Paul Mackerras <paulus@xxxxxxxxx> wrote:

> 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.

thanks - i've picked up your version and uploaded it to:

http://redhat.com/~mingo/perfcounters/timec.c

Ingo
--
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/