projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da0847
)
counter: add new COUNTER_EVENT_CHANGE_OF_STATE
author
Oleksij Rempel
<o.rempel@pengutronix.de>
Tue, 15 Mar 2022 19:38:54 +0000
(15:38 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 18 Mar 2022 13:04:30 +0000
(14:04 +0100)
Add new counter event to notify user space about every new counter
pulse.
Link:
https://lore.kernel.org/r/20220203135727.2374052-2-o.rempel@pengutronix.de
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Link:
https://lore.kernel.org/r/486a5de67414470449efb84d06a2f2214f4bb31d.1647373009.git.vilhelm.gray@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/counter.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/counter.h
b/include/uapi/linux/counter.h
index d0aa95aeff7be0ba855a127752dd098a8385e93a..96c5ffd368adc76b360110911486042a85f08e1d 100644
(file)
--- a/
include/uapi/linux/counter.h
+++ b/
include/uapi/linux/counter.h
@@
-61,6
+61,8
@@
enum counter_event_type {
COUNTER_EVENT_THRESHOLD,
/* Index signal detected */
COUNTER_EVENT_INDEX,
+ /* State of counter is changed */
+ COUNTER_EVENT_CHANGE_OF_STATE,
};
/**