Re: [PATCH v2] perf kmem: Show warning when trying to run stat without record

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]