From: Denis Kenzior <denkenz@gmail.com>
To: James Prestwood <prestwoj@gmail.com>, iwd@lists.linux.dev
Subject: Re: [PATCH v2 1/4] monitor: add --time-format,-t option
Date: Tue, 17 Dec 2024 11:29:28 -0600 [thread overview]
Message-ID: <39409a97-2774-4300-a1c6-af077ba05413@gmail.com> (raw)
In-Reply-To: <20241202145438.282998-1-prestwoj@gmail.com>
Hi James,
On 12/2/24 8:54 AM, James Prestwood wrote:
> For syncing iwmon captures with other logging its useful to
> timestamp in some absolute format like UTC. This adds an
> option which allows the user to specify what time format to
> show. For now support:
>
> delta - (default) The time delta between the first packet
> and the current packet.
> utc - The packet time in UTC
> ---
> monitor/main.c | 56 ++++++++++++++++++++++++++++++-------------------
> monitor/nlmon.c | 45 +++++++++++++++++++++++++++++++++------
> monitor/nlmon.h | 6 ++++++
> 3 files changed, 80 insertions(+), 27 deletions(-)
>
> v2:
> * Fix compiler warning on musl. The switch statement checking the
> time format had no default case which would cause 'n' to be
> uninitialized. Its an impossible condition least with the
> current code base, but it doesn't hurt to add a default to
> future proof.
>
All applied, thanks.
Regards,
-Denis
prev parent reply other threads:[~2024-12-17 17:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-02 14:54 [PATCH v2 1/4] monitor: add --time-format,-t option James Prestwood
2024-12-02 14:54 ` [PATCH v2 2/4] monitor: track current PCAP size James Prestwood
2024-12-02 14:54 ` [PATCH v2 3/4] monitor: add support for limiting PCAP size/count James Prestwood
2024-12-02 14:54 ` [PATCH v2 4/4] monitor: add --pcap-size,--pcap-count James Prestwood
2024-12-17 17:29 ` Denis Kenzior [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39409a97-2774-4300-a1c6-af077ba05413@gmail.com \
--to=denkenz@gmail.com \
--cc=iwd@lists.linux.dev \
--cc=prestwoj@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox