Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755130AbaDXKXA (ORCPT ); Thu, 24 Apr 2014 06:23:00 -0400 Received: from mga02.intel.com ([134.134.136.20]:39279 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752856AbaDXKWw (ORCPT ); Thu, 24 Apr 2014 06:22:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,918,1389772800"; d="scan'208";a="527192528" From: Liu ShuoX To: linux-kernel@vger.kernel.org Cc: yanmin_zhang@linux.intel.com, Liu ShuoX Subject: [PATCH v4 0/3] Add a method to expand tracers for pstore easily Date: Thu, 24 Apr 2014 18:20:09 +0800 Message-Id: <1398334813-8999-1-git-send-email-shuox.liu@intel.com> X-Mailer: git-send-email 1.8.3.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Here are the v4 of this series. The intention is to add a framework to ramoops and make expanding tracers for pstore easily. Comments are welcome. Changelog v4: 1) Fix record zone traversing lost when get old buffer. 2) Add dump records to printk log buf function at runtime by code. 3) Fix some minor issues. Changelog v3: 1) Fix compiling errors when CONFIG_PSTORE_RAM=m. Changelog v2: 1) Fix compiling errors when CONFIG_PSTORE_RAM is disabled. 2) Add some protection in the code in case we disable CONFIG_PSTORE_RAM. --- Liu ShuoX (2): pstore: add seq_ops for norm zone pstore: support current records dump in ramoops Zhang Yanmin (1): pstore: restructure ramoops to support more trace Documentation/ramoops.txt | 70 +++++++++++- arch/x86/kernel/vmlinux.lds.S | 9 ++ drivers/platform/chrome/chromeos_pstore.c | 2 +- fs/pstore/inode.c | 126 +++++++++++++++++++-- fs/pstore/internal.h | 4 +- fs/pstore/platform.c | 77 +++++++++++-- fs/pstore/ram.c | 177 +++++++++++++++++++++++++----- fs/pstore/ram_core.c | 30 +++++ include/linux/pstore.h | 4 + include/linux/pstore_ram.h | 23 ++-- include/linux/pstore_ramoops.h | 85 ++++++++++++++ 11 files changed, 542 insertions(+), 65 deletions(-) create mode 100644 include/linux/pstore_ramoops.h -- 1.8.3.2 -- 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/