Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp6366092imm; Sun, 20 May 2018 01:19:24 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr2R9Jc2Zzv+PqWhgGdEtaaDHhTvehAmSjndJU3F4HSRu6FnQDEy/8l/2tWiXblo31KjbUN X-Received: by 2002:a62:14c3:: with SMTP id 186-v6mr15722251pfu.92.1526804364340; Sun, 20 May 2018 01:19:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526804364; cv=none; d=google.com; s=arc-20160816; b=1GfhcG+n0YJZBMuh7PU+dWp0NWeR5zd8yXSQrylzOZ0h511vhKTBmy00fZ1EYMHVEv 4ODyNf5vVINOiK/pe8ecsawuJCTR5mf9PlTsLf1i5YcY2pNtY5RRTSanaGAOikjajCs+ jHTUsSSoCxv9FYdoUGh0zI9CVWyaIaa4FvmzxieAtq/oEX/iRsf+a0OhDvZyMjMFIlNQ RzvWqQsVmD5ctjqsO/tdxNdxYM1+vX798snzW4RSUHeYo9UvUHvVp1FVEvJrlsmGBLQU XnyDjPG+OiBe9SCx4BXjebFjDcYw67vrta9owtXz19RoaGspQAxQyiZe80FwNdSbsMTr a1VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=mfiHrSEeSkkaSf7uNXHZF/AJ7S4LvVSy31hzO5jk/KI=; b=cWrUVqCtdpzDZDcTxIjpmzDZSeotZMjTOt3DJWlyLiFlCj8lRYGBLfT41Kl2cvxhIR AIrzXR8IAVyWsaOlDbDlhtXa8u5jSZ7MAFRmEjoPlbLuEGq2aVA3iqrmi4YzoQmru4fn 3xeRaDx6jIc3iJwaauBfGuloB9Jnpdb7lV0CNHTQ7vs89HypH2ua/6paIvUSD2UkivF4 8u4n1uPjbGvsOUw6jSNXSIFVmS0uEERLPORAGh5YJz1XyK7xrSYtKZYWnz+hD7b9WX20 nDZj3wwL6iBWw7Hbd5Ucw3/MY4W10banV0ocSSjzUAXn4AgJW68U/Ei4vTzWxuYxlx3F jyqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4-v6si11778423pll.10.2018.05.20.01.18.58; Sun, 20 May 2018 01:19:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751675AbeETIRJ (ORCPT + 99 others); Sun, 20 May 2018 04:17:09 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:49954 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750936AbeETIRI (ORCPT ); Sun, 20 May 2018 04:17:08 -0400 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 81910608D737; Sun, 20 May 2018 10:17:06 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id v_xn5t4QZPZW; Sun, 20 May 2018 10:17:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 43E6F608D741; Sun, 20 May 2018 10:17:06 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id I9f4PiUcE3tU; Sun, 20 May 2018 10:17:06 +0200 (CEST) Received: from blindfold.localnet (213-47-184-186.cable.dynamic.surfer.at [213.47.184.186]) by lithops.sigma-star.at (Postfix) with ESMTPSA id 2055D608D737; Sun, 20 May 2018 10:17:06 +0200 (CEST) From: Richard Weinberger To: Stefan M Schaeckeler Cc: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: mtdoops: optionally dump boottime Date: Sun, 20 May 2018 10:17:05 +0200 Message-ID: <2141312.dtCrDzBczl@blindfold> In-Reply-To: <20180520033940.GA35444@sjc-ads-587.cisco.com> References: <20180520033940.GA35444@sjc-ads-587.cisco.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stefan, Am Sonntag, 20. Mai 2018, 05:39:40 CEST schrieb Stefan M Schaeckeler: > Optionally dump boottime on the mtd device in the form of > > <0>[ 0.000000] Boot time mm/dd/yyyy hh:mm:ss > > Time-stamps of oops messages are in seconds since boottime. Recording also > the boottime helps correlating oopses with other events having occured at > the same time. This correlation will be otherwise lost after (multiple) > reboots. I get the use-case, but why is this only for mtdoops? IMHO this needs to go into generic code such that all kmsg dumpers can benefit from it. Thanks, //richard