Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-07 Thread Kees Cook
On Fri, Mar 7, 2014 at 1:25 PM, Andrew Morton wrote: > On Fri, 7 Mar 2014 10:58:43 +0800 Liu ShuoX wrote: > >> >> ftrace_read_cnt need to be reset in open to support mutli times >> getting the records. >> >> Signed-off-by: Liu ShuoX >> --- >> fs/pstore/ram.c | 3 ++- >> 1 file changed, 2

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-07 Thread Andrew Morton
On Fri, 7 Mar 2014 10:58:43 +0800 Liu ShuoX wrote: > > ftrace_read_cnt need to be reset in open to support mutli times > getting the records. > > Signed-off-by: Liu ShuoX > --- > fs/pstore/ram.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/fs/pstore/ram.c

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-07 Thread Andrew Morton
On Fri, 7 Mar 2014 10:58:43 +0800 Liu ShuoX shuox@intel.com wrote: ftrace_read_cnt need to be reset in open to support mutli times getting the records. Signed-off-by: Liu ShuoX shuox@intel.com --- fs/pstore/ram.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-07 Thread Kees Cook
On Fri, Mar 7, 2014 at 1:25 PM, Andrew Morton a...@linux-foundation.org wrote: On Fri, 7 Mar 2014 10:58:43 +0800 Liu ShuoX shuox@intel.com wrote: ftrace_read_cnt need to be reset in open to support mutli times getting the records. Signed-off-by: Liu ShuoX shuox@intel.com ---

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-06 Thread Kees Cook
On Thu, Mar 6, 2014 at 6:58 PM, Liu ShuoX wrote: > On Tue 4.Mar'14 at 11:11:11 -0800, Kees Cook wrote: >> >> On Mon, Mar 3, 2014 at 5:40 PM, Liu ShuoX wrote: >>> >>> On Mon 3.Mar'14 at 11:45:59 -0800, Kees Cook wrote: On Thu, Feb 27, 2014 at 10:37 PM, wrote: > > >

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-06 Thread Liu ShuoX
On Tue 4.Mar'14 at 11:11:11 -0800, Kees Cook wrote: On Mon, Mar 3, 2014 at 5:40 PM, Liu ShuoX wrote: On Mon 3.Mar'14 at 11:45:59 -0800, Kees Cook wrote: On Thu, Feb 27, 2014 at 10:37 PM, wrote: From: Liu ShuoX ftrace_read_cnt need to be reset in open to support mutli times getting

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-06 Thread Liu ShuoX
On Tue 4.Mar'14 at 11:11:11 -0800, Kees Cook wrote: On Mon, Mar 3, 2014 at 5:40 PM, Liu ShuoX shuox@intel.com wrote: On Mon 3.Mar'14 at 11:45:59 -0800, Kees Cook wrote: On Thu, Feb 27, 2014 at 10:37 PM, shuox@intel.com wrote: From: Liu ShuoX shuox@intel.com ftrace_read_cnt

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-06 Thread Kees Cook
On Thu, Mar 6, 2014 at 6:58 PM, Liu ShuoX shuox@intel.com wrote: On Tue 4.Mar'14 at 11:11:11 -0800, Kees Cook wrote: On Mon, Mar 3, 2014 at 5:40 PM, Liu ShuoX shuox@intel.com wrote: On Mon 3.Mar'14 at 11:45:59 -0800, Kees Cook wrote: On Thu, Feb 27, 2014 at 10:37 PM,

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-04 Thread Kees Cook
On Mon, Mar 3, 2014 at 5:40 PM, Liu ShuoX wrote: > On Mon 3.Mar'14 at 11:45:59 -0800, Kees Cook wrote: >> >> On Thu, Feb 27, 2014 at 10:37 PM, wrote: >>> >>> From: Liu ShuoX >>> >>> ftrace_read_cnt need to be reset in open to support mutli times >>> getting the records. >>> >>> Signed-off-by:

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-04 Thread Kees Cook
On Mon, Mar 3, 2014 at 5:40 PM, Liu ShuoX shuox@intel.com wrote: On Mon 3.Mar'14 at 11:45:59 -0800, Kees Cook wrote: On Thu, Feb 27, 2014 at 10:37 PM, shuox@intel.com wrote: From: Liu ShuoX shuox@intel.com ftrace_read_cnt need to be reset in open to support mutli times

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-03 Thread Liu ShuoX
On Mon 3.Mar'14 at 11:45:59 -0800, Kees Cook wrote: On Thu, Feb 27, 2014 at 10:37 PM, wrote: From: Liu ShuoX ftrace_read_cnt need to be reset in open to support mutli times getting the records. Signed-off-by: Liu ShuoX --- fs/pstore/ram.c | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-03 Thread Kees Cook
On Thu, Feb 27, 2014 at 10:37 PM, wrote: > From: Liu ShuoX > > ftrace_read_cnt need to be reset in open to support mutli times > getting the records. > > Signed-off-by: Liu ShuoX > --- > fs/pstore/ram.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-03 Thread Kees Cook
On Thu, Feb 27, 2014 at 10:37 PM, shuox@intel.com wrote: From: Liu ShuoX shuox@intel.com ftrace_read_cnt need to be reset in open to support mutli times getting the records. Signed-off-by: Liu ShuoX shuox@intel.com --- fs/pstore/ram.c | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-03 Thread Liu ShuoX
On Mon 3.Mar'14 at 11:45:59 -0800, Kees Cook wrote: On Thu, Feb 27, 2014 at 10:37 PM, shuox@intel.com wrote: From: Liu ShuoX shuox@intel.com ftrace_read_cnt need to be reset in open to support mutli times getting the records. Signed-off-by: Liu ShuoX shuox@intel.com ---

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-02 Thread Zhang, Yanmin
On 2014/2/28 14:37, shuox@intel.com wrote: From: Liu ShuoX ftrace_read_cnt need to be reset in open to support mutli times getting the records. Andrew, Would you like to merge it to your testing tree? pstore is a very important feature for debugging hard issues on Android mobiles.

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-02 Thread Zhang, Yanmin
On 2014/2/28 14:37, shuox@intel.com wrote: From: Liu ShuoX shuox@intel.com ftrace_read_cnt need to be reset in open to support mutli times getting the records. Andrew, Would you like to merge it to your testing tree? pstore is a very important feature for debugging hard issues on

[PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-02-27 Thread shuox . liu
From: Liu ShuoX ftrace_read_cnt need to be reset in open to support mutli times getting the records. Signed-off-by: Liu ShuoX --- fs/pstore/ram.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index fa8cef2..a5d0cab 100644 --- a/fs/pstore/ram.c +++

[PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-02-27 Thread shuox . liu
From: Liu ShuoX shuox@intel.com ftrace_read_cnt need to be reset in open to support mutli times getting the records. Signed-off-by: Liu ShuoX shuox@intel.com --- fs/pstore/ram.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index fa8cef2..a5d0cab