Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752959AbbG2Foa (ORCPT ); Wed, 29 Jul 2015 01:44:30 -0400 Received: from mga14.intel.com ([192.55.52.115]:48334 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbbG2Fo3 (ORCPT ); Wed, 29 Jul 2015 01:44:29 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,569,1432623600"; d="scan'208";a="771967412" From: Alexander Shishkin To: Takao Indoh , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Arnaldo Carvalho de Melo , Vivek Goyal Cc: linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH RFC 0/3] x86: Intel Processor Trace Logger In-Reply-To: <1438145496-5932-1-git-send-email-indou.takao@jp.fujitsu.com> References: <1438145496-5932-1-git-send-email-indou.takao@jp.fujitsu.com> User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Wed, 29 Jul 2015 08:44:25 +0300 Message-ID: <878u9zbjra.fsf@ashishki-desk.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1707 Lines: 42 Takao Indoh writes: > Hi all, > > This patch creates log buffer for Intel PT and enable logging at boot > time. When kernel panic occurs, we can get this log buffer from > crashdump file by kdump, and reconstruct the flow that led to the panic. Good to see this work going forward! > Takao Indoh (3): > x86: Add Intel PT common files > x86: Add Intel PT logger > x86: Stop Intel PT and save its registers when panic occurs > > arch/x86/Kconfig | 16 ++ > arch/x86/include/asm/intel_pt.h | 84 +++++++++ > arch/x86/kernel/cpu/Makefile | 3 + > arch/x86/kernel/cpu/intel_pt.h | 131 ------------- > arch/x86/kernel/cpu/intel_pt_cap.c | 69 +++++++ > arch/x86/kernel/cpu/intel_pt_log.c | 288 +++++++++++++++++++++++++++++ > arch/x86/kernel/cpu/intel_pt_perf.h | 78 ++++++++ > arch/x86/kernel/cpu/perf_event_intel_pt.c | 54 +----- > arch/x86/kernel/crash.c | 9 + > 9 files changed, 556 insertions(+), 176 deletions(-) > create mode 100644 arch/x86/include/asm/intel_pt.h > delete mode 100644 arch/x86/kernel/cpu/intel_pt.h > create mode 100644 arch/x86/kernel/cpu/intel_pt_cap.c > create mode 100644 arch/x86/kernel/cpu/intel_pt_log.c > create mode 100644 arch/x86/kernel/cpu/intel_pt_perf.h One note here: you want to use -M with git-format-patch so that renames are handled better. Regards, -- Alex -- 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/