Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757890Ab2FOVkv (ORCPT ); Fri, 15 Jun 2012 17:40:51 -0400 Received: from mga11.intel.com ([192.55.52.93]:24786 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753243Ab2FOVku convert rfc822-to-8bit (ORCPT ); Fri, 15 Jun 2012 17:40:50 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="166265644" From: "Luck, Tony" To: Anton Vorontsov , Greg Kroah-Hartman , Kees Cook , Colin Cross , Steven Rostedt , Frederic Weisbecker , Ingo Molnar CC: Arnd Bergmann , John Stultz , Shuah Khan , "arve@android.com" , Rebecca Schultz Zavin , Jesper Juhl , Randy Dunlap , Stephen Boyd , Thomas Meyer , Andrew Morton , Marco Stornelli , WANG Cong , "linux-kernel@vger.kernel.org" , "devel@driverdev.osuosl.org" , "linaro-kernel@lists.linaro.org" , "patches@linaro.org" , "kernel-team@android.com" Subject: RE: [PATCH 3/6] pstore: Add persistent function tracing Thread-Topic: [PATCH 3/6] pstore: Add persistent function tracing Thread-Index: AQHNSxnUyTWscCuSSEGw988jRX6OJpb758LA Date: Fri, 15 Jun 2012 21:40:37 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F1931FC30@ORSMSX104.amr.corp.intel.com> References: <20120615170659.GA4060@lizard> <1339780111-12075-3-git-send-email-anton.vorontsov@linaro.org> In-Reply-To: <1339780111-12075-3-git-send-email-anton.vorontsov@linaro.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 627 Lines: 15 > We store the log in a binary format and then decode it at read time. What are the advantages of this compared to creating the human readable text and saving a blob of text? What does this "binary format" look like? Will it ever change? Remember that we may reboot to a different kernel - so we have to be really sure that the newer (or older) version can do the decode. -Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/