Messages in this thread | | | Date | Tue, 05 May 2015 17:16:29 +0300 | From | Pekka Enberg <> | Subject | Re: [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
| |