summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-03-12 09:07:33 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-20 15:43:58 +0200
commit754f2e0d106d44dc89fdb4edbb54641d9525e62c (patch)
treeaf04b8e1301f726bc836e0e308cf6ec7dc0892e1 /commands
parent932fff4911529d3663fa01b99cfb5dddb42feb6e (diff)
downloadbarebox-754f2e0d106d44dc89fdb4edbb54641d9525e62c.tar.gz
barebox-754f2e0d106d44dc89fdb4edbb54641d9525e62c.tar.xz
poller: Add a poller command
The poller command allows to print which pollers are registered and also how many times we can run the registered pollers in one second. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 8de98ef3ee..3789f33c3b 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -244,6 +244,15 @@ config CMD_MMC_EXTCSD
-y don't request when writing to one time programmable fields
__CAUTION__: this could damage the device!
+config CMD_POLLER
+ tristate
+ prompt "poller"
+ depends on POLLER
+ help
+ Pollers are functions that are running in the background whenever code executes
+ is_timeout() or one of the various delay functions. The poller command prints
+ informations about registered pollers.
+
# end Information commands
endmenu