lkml.org 
[lkml]   [2015]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] perf kmem: Show warning when trying to run stat without record
On 05/05/2015 05:07 PM, Arnaldo Carvalho de Melo wrote:
> Em Tue, May 05, 2015 at 09:58:12AM +0900, Namhyung Kim escreveu:
>> Sometimes one can mistakenly run perf kmem stat without perf kmem
>> record before or different configuration like recoding --slab and stat
>> --page. Show a warning message like below to inform user:
>>
>> # perf kmem stat --page --caller
>> Not found page events. Have you run 'perf kmem record --page' before?
>>
>> Acked-by: Pekka Enberg <penberg@kernel.org>
>> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
> Thanks, applied.
>
> I just found the messages a bit odd souding, perhaps:
>
> # perf kmem stat --page --caller
> No page allocation events found. Have you run 'perf kmem record --page'?
>
> Pekka?

Sure, that sounds less confusing.

- Pekka


\
 
 \ /
  Last update: 2015-05-05 20:21    [W:0.117 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site