Re: [PATCH V2 0/4] irqtop,lsirq: Miscellaneous enhancements
Karel Zak <[email protected]>
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <ycaevmuxkamyr6m2um4kqxhx5xh7jtcr2xoeadfz2v6cmcmrrf@lgpkcja4h7rk> |
On Fri, Feb 28, 2025 at 08:13:30AM GMT, Joe Jin wrote:
> 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(-)
Thanks for the update. I have created a PR
(https://github.com/util-linux/util-linux/pull/3435) to test it with
CI tests.
Karel
--
Karel Zak <[email protected]>
http://karelzak.blogspot.com