Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752636AbbG2FwN (ORCPT ); Wed, 29 Jul 2015 01:52:13 -0400 Received: from mgwym01.jp.fujitsu.com ([211.128.242.40]:40213 "EHLO mgwym01.jp.fujitsu.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752445AbbG2FwM (ORCPT ); Wed, 29 Jul 2015 01:52:12 -0400 X-SecurityPolicyCheck: OK by SHieldMailChecker v2.2.3 X-SHieldMailCheckerPolicyVersion: FJ-ISEC-20140219-2 Subject: Re: [PATCH RFC 0/3] x86: Intel Processor Trace Logger To: , , , , , , References: <1438145496-5932-1-git-send-email-indou.takao@jp.fujitsu.com> <878u9zbjra.fsf@ashishki-desk.ger.corp.intel.com> CC: , From: Takao Indoh Message-ID: <55B869F8.5030404@jp.fujitsu.com> Date: Wed, 29 Jul 2015 14:51:52 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <878u9zbjra.fsf@ashishki-desk.ger.corp.intel.com> Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-SecurityPolicyCheck-GC: OK by FENCE-Mail X-TM-AS-MML: disable Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1907 Lines: 53 On 2015/07/29 14:44, Alexander Shishkin wrote: > 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. Thank you, I didn't know this option. I'll do next time. Thanks, Takao Indoh > > 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/