diff options
author | Richard Braun <rbraun@sceen.net> | 2018-06-26 20:49:41 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-06-26 20:49:41 +0200 |
commit | fbd398f234b0e2af77ee3ff62827443054857dff (patch) | |
tree | 904d83ad24bc1094ed9289a62a6841fd9e3dd41e /kern/perfmon.h | |
parent | a2f9c0d5b38b48e7a22851f81e56be50d4bf9707 (diff) |
kern/perfmon: fix PMC ID allocation description
Diffstat (limited to 'kern/perfmon.h')
-rw-r--r-- | kern/perfmon.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kern/perfmon.h b/kern/perfmon.h index 0c17752c..3088ed7d 100644 --- a/kern/perfmon.h +++ b/kern/perfmon.h @@ -73,10 +73,9 @@ struct perfmon_dev_ops { /* * Allocate a performance monitoring counter globally for the given * raw event ID, and return the counter ID through the given pointer. - * The range of IDs must start from 0 and increase contiguously. - * - * The PMC index is to be used by the driver when reporting overflows, - * if a custom overflow interrupt handler. + * The driver may return any PMC ID, as long as it uniquely identifies + * the underlying counter. The PMC index is passed when reporting + * overflows, if using a custom overflow interrupt handler. * * Global operation. */ |