Re: perfctr questions
From: bert hubert
Date: Thu Jul 01 2004 - 17:58:43 EST
Bryan,
Thanks for your quick reply!
On Thu, Jul 01, 2004 at 03:19:54PM -0700, Bryan O'Sullivan wrote:
> called papiex that provides a less intimidating performance counter
> interface. However, building PAPI with a not-quite-the-same version of
> perfctr is a bit daunting, so I don't recommend that, either.
pepiex doesn't build for me, I was actually trying that already. It tries to
take over pthreads, which I think breaks. PAPI does look nice though.
> Your third option is to build a version of perfex that I've hacked on,
> but not had time to finish up and submit to Mikael. I've attached it as
> a tarball. This includes a man page that makes the usage less scary,
> and it also accepts (gasp) textual arguments instead of hex strings.
> I've tested it on P6, Pentium M and AMD64 chips.
Ah, cool - seems to have bitrotted somewhat, perfctr_*_event_* appear no
longer to exist in perfctr 2.7.3.
In any case, your manpage inspired some command lines that at least appear
to generate numbers, thanks.
But we're obviously not there yet.
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
-
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/