sparc64: Add initial perf event conflict resolution and checks.
authorDavid S. Miller <davem@davemloft.net>
Mon, 28 Sep 2009 03:43:07 +0000 (20:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Sep 2009 03:43:07 +0000 (20:43 -0700)
commit01552f765cae873d0ea3cca1e64e41dfd62659e6
tree80887592fb5fb3dd848b06c44a2b0c76770843be
parent7eebda60d57a0862a410f45122c73b8bbe6e260c
sparc64: Add initial perf event conflict resolution and checks.

Cribbed from powerpc code, as usual. :-)

Currently it is only used to validate that all counters
have the same user/kernel/hv attributes.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/perf_event.c