diff options
author | Remy Noel <mocramis@gmail.com> | 2018-04-08 12:29:41 +0200 |
---|---|---|
committer | Remy Noel <mocramis@gmail.com> | 2018-04-21 00:04:20 +0200 |
commit | 0274c8726015e83c989aac905b6626e40397495c (patch) | |
tree | d7857b4d4a8983ad2fe08339c83d0f285b45e1f6 /kern/perfmon.h | |
parent | 7f545f440e58b081b1ff630e78903ee4ee901a5a (diff) |
kern/perfmon: Handle overflow on sync.
Add new perfmon driver method "get_pmc_width".
Diffstat (limited to 'kern/perfmon.h')
-rw-r--r-- | kern/perfmon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kern/perfmon.h b/kern/perfmon.h index a899a01..6a2d9c6 100644 --- a/kern/perfmon.h +++ b/kern/perfmon.h @@ -64,6 +64,7 @@ struct perfmon_pmu_ops { void (*start)(unsigned int pmc_id, unsigned int raw_event_id); void (*stop)(unsigned int pmc_id); uint64_t (*read)(unsigned int pmc_id); + uint8_t (*get_pmc_width)(void); }; /* |