lkml.org 
[lkml]   [2015]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH RFC 0/3] x86: Intel Processor Trace Logger
From
Date
On 2015/07/29 14:44, Alexander Shishkin wrote:
> Takao Indoh <indou.takao@jp.fujitsu.com> 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
>




\
 
 \ /
  Last update: 2015-07-29 20:40    [W:0.326 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site