public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/4] irqtop,lsirq: Miscellaneous enhancements
@ 2025-02-28 16:13 Joe Jin
  2025-02-28 16:13 ` [PATCH V2 1/4] irqtop: add batch mode support Joe Jin
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Joe Jin @ 2025-02-28 16:13 UTC (permalink / raw)
  To: Karel Zak, Zhenwei Pi, Sami Kerola; +Cc: util-linux, Joe Jin

This patchset add below new options for irqtop:
 '-b|--batch' : Batch mode
 '-n|--iter'  : Specifies the maximum number of iterations
 '-J|--json'  : Json ouput format

Add below for lsirq:
 '-i|--input' : Read data from file

v2:
  - Removed macro irqtop_batch_mode.
  - Replaced macro irqtop_printf() to inline function
  - Changed option '--number' to '--iter'
  - Replace strdup() to xstrdup()
  - Added json output format for irqtop.
  - Remove irqtop input file support.

Joe Jin (4):
  irqtop: add batch mode support
  irqtop: add max iteration support
  irqtop: support json output format
  lsirq: add support for reading data from given file

 bash-completion/irqtop  |  12 +++-
 bash-completion/lsirq   |   4 ++
 sys-utils/irq-common.c  |  19 +++---
 sys-utils/irq-common.h  |   3 +-
 sys-utils/irqtop.1.adoc |   9 +++
 sys-utils/irqtop.c      | 124 +++++++++++++++++++++++++++++++---------
 sys-utils/lsirq.1.adoc  |   3 +
 sys-utils/lsirq.c       |  24 ++++++--
 8 files changed, 155 insertions(+), 43 deletions(-)

-- 
2.43.5


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

end of thread, other threads:[~2025-03-05  2:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-28 16:13 [PATCH V2 0/4] irqtop,lsirq: Miscellaneous enhancements Joe Jin
2025-02-28 16:13 ` [PATCH V2 1/4] irqtop: add batch mode support Joe Jin
2025-02-28 16:13 ` [PATCH V2 2/4] irqtop: add max iteration support Joe Jin
2025-03-03  9:39   ` zhenwei pi
2025-03-04  1:39     ` Joe Jin
2025-03-04  3:49       ` zhenwei pi
2025-02-28 16:13 ` [PATCH V2 3/4] irqtop: support json output format Joe Jin
2025-02-28 16:13 ` [PATCH V2 4/4] lsirq: add support for reading data from given file Joe Jin
2025-03-03 10:16 ` [PATCH V2 0/4] irqtop,lsirq: Miscellaneous enhancements Karel Zak
2025-03-04  1:38   ` Joe Jin
2025-03-04  3:50     ` zhenwei pi
2025-03-04 10:58 ` Karel Zak
2025-03-05  2:23   ` Joe Jin

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