mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] commands: watch: add new command
@ 2024-07-01  7:54 Ahmad Fatoum
  2024-07-01  7:54 ` [PATCH 1/3] commands: edit: factor out getwinsize and export it for reuse Ahmad Fatoum
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ahmad Fatoum @ 2024-07-01  7:54 UTC (permalink / raw)
  To: barebox

For testing proper operation of IIO devices, it can be useful to monitor
changes in the reading reported by the hwmon command. This is now
possible by using e.g. `watch -n 0.5 -t hwmon`.

Ahmad Fatoum (3):
  commands: edit: factor out getwinsize and export it for reuse
  lib: strtox: implement new simple_strtofract
  commands: watch: add new command

 commands/Kconfig       |  6 +++
 commands/Makefile      |  1 +
 commands/edit.c        | 85 ++++++------------------------------
 commands/watch.c       | 97 ++++++++++++++++++++++++++++++++++++++++++
 include/linux/kernel.h |  1 +
 include/term.h         |  8 ++++
 lib/Makefile           |  1 +
 lib/strtox.c           | 57 +++++++++++++++++++++++++
 lib/term.c             | 69 ++++++++++++++++++++++++++++++
 9 files changed, 252 insertions(+), 73 deletions(-)
 create mode 100644 commands/watch.c
 create mode 100644 include/term.h
 create mode 100644 lib/term.c

-- 
2.39.2




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-07-01  9:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-01  7:54 [PATCH 0/3] commands: watch: add new command Ahmad Fatoum
2024-07-01  7:54 ` [PATCH 1/3] commands: edit: factor out getwinsize and export it for reuse Ahmad Fatoum
2024-07-01  7:54 ` [PATCH 2/3] lib: strtox: implement new simple_strtofract Ahmad Fatoum
2024-07-01  7:54 ` [PATCH 3/3] commands: watch: add new command Ahmad Fatoum
2024-07-01  9:26   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox