commit | a72a8a5f2ea32074e98803d4b15d0e093c5a9e4d | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Mon Sep 28 17:35:20 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 28 17:35:20 2009 -0700 |
tree | 73a2fd48d92a7d4dfeae38cfd80adc99fe8fb5e1 | |
parent | 1b6b9d62475bdea00b366cb80b0fadba446f176d [diff] |
sparc64: Add a basic conflict engine in preparation for multi-counter support. The hardware counter ->event_base state records and encoding of the "struct perf_event_map" entry used for the event. We use this to make sure that when we have more than 1 event, both can be scheduled into the hardware at the same time. As usual, structure of code is largely cribbed from powerpc. Signed-off-by: David S. Miller <davem@davemloft.net>