Re: [linux-yocto] [PATCH] tracing/x86: Save CR2 before tracing irqsoff on error_entry

2019-04-29 Thread He Zhe
On 4/30/19 3:37 AM, Bruce Ashfield wrote: > > > On Mon, Apr 29, 2019 at 8:34 AM Bruce Ashfield > wrote: > > > > On Sun, Apr 28, 2019 at 6:50 AM He Zhe > wrote: > > > > On 4/26/19 11:14 PM, Bruce Ashfield wrote: >

Re: [linux-yocto] [PATCH] tracing/x86: Save CR2 before tracing irqsoff on error_entry

2019-04-29 Thread Bruce Ashfield
On Mon, Apr 29, 2019 at 8:34 AM Bruce Ashfield wrote: > > > On Sun, Apr 28, 2019 at 6:50 AM He Zhe wrote: > >> >> >> On 4/26/19 11:14 PM, Bruce Ashfield wrote: >> > >> > >> > On Wed, Apr 24, 2019 at 9:38 PM He Zhe > zhe...@windriver.com>> wrote: >> > >> > >> > >> > On 4/24/19 8:34 PM, Bruce

Re: [linux-yocto] [PATCH] tracing/x86: Save CR2 before tracing irqsoff on error_entry

2019-04-29 Thread Bruce Ashfield
On Sun, Apr 28, 2019 at 6:50 AM He Zhe wrote: > > > On 4/26/19 11:14 PM, Bruce Ashfield wrote: > > > > > > On Wed, Apr 24, 2019 at 9:38 PM He Zhe zhe...@windriver.com>> wrote: > > > > > > > > On 4/24/19 8:34 PM, Bruce Ashfield wrote: > > > > > > > > > On Wed, Apr 24, 2019 at

Re: [linux-yocto] [PATCH] tracing/x86: Save CR2 before tracing irqsoff on error_entry

2019-04-28 Thread He Zhe
On 4/26/19 11:14 PM, Bruce Ashfield wrote: > > > On Wed, Apr 24, 2019 at 9:38 PM He Zhe > wrote: > > > > On 4/24/19 8:34 PM, Bruce Ashfield wrote: > > > > > > On Wed, Apr 24, 2019 at 3:47 AM He Zhe

Re: [linux-yocto] [PATCH] tracing/x86: Save CR2 before tracing irqsoff on error_entry

2019-04-26 Thread Bruce Ashfield
On Wed, Apr 24, 2019 at 9:38 PM He Zhe wrote: > > > On 4/24/19 8:34 PM, Bruce Ashfield wrote: > > > > > > On Wed, Apr 24, 2019 at 3:47 AM He Zhe zhe...@windriver.com>> wrote: > > > > This is for standard/base and all sub-level branches. For > explanation, see the > > bottom of the

Re: [linux-yocto] [PATCH] tracing/x86: Save CR2 before tracing irqsoff on error_entry

2019-04-24 Thread He Zhe
On 4/24/19 8:34 PM, Bruce Ashfield wrote: > > > On Wed, Apr 24, 2019 at 3:47 AM He Zhe > wrote: > > This is for standard/base and all sub-level branches. For explanation, > see the > bottom of the commit log I append. > > > Which kernel versions ? I didn't

[linux-yocto] [PATCH] tracing/x86: Save CR2 before tracing irqsoff on error_entry

2019-04-24 Thread zhe.he
From: "Steven Rostedt (VMware)" He Zhe reported a crash by enabling trace events and selecting "userstacktrace" which will read the stack of userspace for every trace event recorded. Zhe narrowed it down to: c3bc8fd637a9 ("tracing: Centralize preemptirq tracepoints and unify their usage")