From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 8C5F55A004F for ; Mon, 29 Jul 2024 06:23:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1722226981; bh=qag3G5qoLZfvI2cmtN7qdOVYD0Z3+ADViUMqsPpcxuo=; h=From:To:Cc:Subject:Date:From; b=iG0Z4Wo4/fhMQqIGJrmyEuruvX/GI+4ArfEwGdhV1JaAujPObMiKpzAuJhZtbz55+ S8JFiiZbWLrYBeLoO3M3SQwVKgHpnsC4ugafkMz5Hq+OuX0ZmHNzze8KyjZnUoYH9t Lh50bD0dFQAxb/ZVn3qVDlAKEi3RNtMILtUFMurbyzXzi5jMCqXeT14Vr1/FUpokFr mhTgbVgnGDserx/bfADoyw90WSug0lWMnm839vUAq7Olc+Gj0tviO7lvm5xOvWUt/S nsfDLbDyNDGYxcdrxq6hTdy4GoKeMEZxvOJ058vzcrX7voBBRAb2BCbgi2usZmwl18 b0aqhbvN/ekaw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4WXQFd6vb5z4x6n; Mon, 29 Jul 2024 14:23:01 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/2] Avoid duplicated clock_gettime() in logging Date: Mon, 29 Jul 2024 14:22:58 +1000 Message-ID: <20240729042300.280684-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.45.2 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: XIHNT7YO7L4BAIUADT4QWJ5FZKRLKNCO X-Message-ID-Hash: XIHNT7YO7L4BAIUADT4QWJ5FZKRLKNCO X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Remove a small nit in the logging code. David Gibson (2): log: Make logfile_write() private log: Avoid duplicate calls to clock_gettime() log.c | 344 +++++++++++++++++++++++++++++----------------------------- log.h | 1 - 2 files changed, 172 insertions(+), 173 deletions(-) -- 2.45.2