[PATCH 0/3] commands: watch: add new command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux