svn commit: r277835 - in head: lib/libpmc sys/arm/arm sys/arm/include sys/arm/ti sys/conf sys/dev/hwpmc sys/sys
Ruslan Bukin
br at FreeBSD.org
Wed Jan 28 19:11:56 UTC 2015
On Wed, Jan 28, 2015 at 09:35:03AM -0700, Ian Lepore wrote:
> On Wed, 2015-01-28 at 16:08 +0000, Ruslan Bukin wrote:
> > Author: br
> > Date: Wed Jan 28 16:08:07 2015
> > New Revision: 277835
> > URL: https://svnweb.freebsd.org/changeset/base/277835
> >
> > Log:
> > Add ARMv7 performance monitoring counters.
> >
> > Differential Revision: https://reviews.freebsd.org/D1687
> > Reviewed by: rpaulo
> > Sponsored by: DARPA, AFRL
> >
> > Added:
> > head/sys/dev/hwpmc/hwpmc_armv7.c (contents, props changed)
> > head/sys/dev/hwpmc/hwpmc_armv7.h (contents, props changed)
> > Modified:
> > head/lib/libpmc/libpmc.c
> > head/sys/arm/arm/intr.c
> > head/sys/arm/include/pmc_mdep.h
> > head/sys/arm/ti/files.ti
> > head/sys/conf/files.arm
> > head/sys/dev/hwpmc/hwpmc_arm.c
> > head/sys/dev/hwpmc/pmc_events.h
> > head/sys/sys/pmc.h
>
> This was in phabricator for review for 27 hours before it got committed,
> that's not enough time to allow people to actually review it. That
> would be not enough time for even a simple change, let alone over a
> thousand of lines of code. It certainly wasn't reviewed by those
> actively working on arm pmc stuff recently (gnn and to a lesser degree,
> me).
Ok, make sense, it actually was my first experience with PB, and I expected
any activity from people who want to review this.
>
> Just from a quick glance at the part that wasn't truncated, I notice all
> the inline asm stuff is wrong -- it duplicates what's already available
> in cpu-v6.h.
>
I had a conversation with Andrew this morning, he pointed me out those defines
in cpu-v6.h, but we agreed those are optional stuff. I.e. duplicates != wrong.
I'll fix that. Thanks
Ruslan
More information about the svn-src-all
mailing list