From nobody Sat Jul 16 18:55:41 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Llcr00VzJz4T22Q; Sat, 16 Jul 2022 18:55:44 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (glebi.us [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Llcqz6HG9z40tW; Sat, 16 Jul 2022 18:55:43 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.16.1/8.16.1) with ESMTPS id 26GItfZh058161 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 16 Jul 2022 11:55:41 -0700 (PDT) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.glebi.us (8.16.1/8.16.1/Submit) id 26GItfo7058160; Sat, 16 Jul 2022 11:55:41 -0700 (PDT) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@freebsd.org using -f Date: Sat, 16 Jul 2022 11:55:41 -0700 From: Gleb Smirnoff To: Konstantin Belousov Cc: Dmitry Chagin , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: fc90f3a28145 - main - ktrace: Increase precision of timestamps. Message-ID: References: <202207160950.26G9o2AZ034355@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Rspamd-Queue-Id: 4Llcqz6HG9z40tW X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sat, Jul 16, 2022 at 04:52:28PM +0300, Konstantin Belousov wrote: K> > Replace struct timeval in header with struct timespec. K> > To differentiate header formats, add a new KTR_VERSIONED flag K> > set in the header type field similar to the existing KTRDROP flag. K> > K> > To make it easier to extend ktrace headers in the future, K> > extend the existing header with a version field (version 0 is K> > reserved for older records without KTR_VERSIONED) as well as K> > new fields holding the thread ID and CPU ID. K> It would be nice to have a way to force kernel to write v0 format. K> K> For instance, one of my usual work flow case is to generate ktrace.out K> on HEAD and kdump it on stable/13. IMHO, the right way to handle that is to merge new kdump to stable/13, rather than keeping compat layers in head kernel. -- Gleb Smirnoff