From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C77C541E04; Tue, 7 Mar 2023 17:04:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 804E540ED6; Tue, 7 Mar 2023 17:04:08 +0100 (CET) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mails.dpdk.org (Postfix) with ESMTP id B02E44067B for ; Tue, 7 Mar 2023 17:04:06 +0100 (CET) Received: by mail-pf1-f175.google.com with SMTP id z11so8366090pfh.4 for ; Tue, 07 Mar 2023 08:04:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; t=1678205046; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=ImyXCU6DBwwD0YoeNb2SOQaVHKSFQUfhuic1mPo7X4I=; b=5ujbdshQtTtcITmugVdiRrRWuDdQn6+bQHgHN18UIwFsTSB19snL2MrQKPZ3uwI4A5 gJJZg8xYTVaaB9He2jDaeT6CetjVap5wvAsFmKQKpTKHWaGYsKiioqhDQsL7F4bjpPQ2 EONIK7NpuC6eaNer4XE4F66fPc/xsNgP+M4JQh71J6WUd05jzwY3xGB2GpomyzU1xCT7 YCdR68zOtBnj2Pgf5etC6875hPn61VCwJf0AZfizB8UMXFGWohMEpThj+O7NtCbLex00 ZGQNO/VXxiR58MRuVmz+Le9pQL/UFoTOml0ny/VV82a1PlXGgJql7DjQOxgqzloEmqmL jDEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678205046; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ImyXCU6DBwwD0YoeNb2SOQaVHKSFQUfhuic1mPo7X4I=; b=Jg5bR2oYcabYE3VkIdbZJlLxGnVBWpuqvS74/27aaf6q/74ame/NVfmSp0Ct6Y7dhs tSM4e/Drb7cSy23zr9V86nrSV+JlypZUg8KsW05ZnyIuxXSpoCeIf3evvufPygQKe511 pc8jXnI2UVhPY9dGO1YQiG/5qtudxhijxs8/TMcxBNxpW7pVeQ7qOnAzzlBYSXH9aZnQ 6bYOJ54+knZ98anIm8KCRKxdqdgCG0DBVd1VeTO9tfsPUskOU/GqCldB8PYGCsUGpJ9s vOfiWNS/wOm7zIaeEza76Xz4ylagflpWfPLCW8eQHRFUXIxzC8QI5nh825a/nEY2FLr1 W1gQ== X-Gm-Message-State: AO0yUKXHhR23EFikYF5xnAhqB/vw/cd5075DBgKqZ8fwIR6znIKzEzJa rD0tLAP7s5gG0D3bdIxmi20+4A== X-Google-Smtp-Source: AK7set/t1r8WbZskswxtCrZFVTnwyysWFtb+AR+SoSfq2JPbBipt+bN7izA5YdAmcYKBPcURNG5EQQ== X-Received: by 2002:a05:6a00:a81:b0:5a8:aa5e:4bc3 with SMTP id b1-20020a056a000a8100b005a8aa5e4bc3mr21155756pfl.1.1678205045658; Tue, 07 Mar 2023 08:04:05 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id u6-20020aa78386000000b005d35695a66csm8042216pfm.137.2023.03.07.08.04.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 08:04:05 -0800 (PST) Date: Tue, 7 Mar 2023 08:04:03 -0800 From: Stephen Hemminger To: Morten =?UTF-8?B?QnLDuHJ1cA==?= Cc: Subject: Re: [PATCH v3 0/2] Add option to timestamp console log Message-ID: <20230307080403.6de766cd@hermes.local> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D877C1@smartserver.smartshare.dk> References: <20200814173441.23086-1-stephen@networkplumber.org> <20230306192810.106154-1-stephen@networkplumber.org> <98CBD80474FA8B44BF855DF32C47DC35D877C1@smartserver.smartshare.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, 7 Mar 2023 08:33:17 +0100 Morten Br=C3=B8rup wrote: > Here's some feature creep: Since the timestamp output is configurable, th= ere is no need to settle on one specific timestamp format. The option could= allow a choice between MONOTONIC and REALTIME, with an option for REALTIME= to include the date in ISO 8601 format (YYYY-MM-DD). And REALTIME could be= UTC or local time. You could consider taking a format string for strftime(= ), with the extension that %f expands to 6 digit microseconds like in Pytho= n [1]. Does that have compiler static checking issues if you allow user to set for= mats?