[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B6745AA.1070703@bx.jp.nec.com>
Date: Mon, 01 Feb 2010 16:20:42 -0500
From: Keiichi KII <k-keiichi@...jp.nec.com>
To: Tom Zanussi <tzanussi@...il.com>
CC: linux-kernel@...r.kernel.org, lwoodman@...hat.com,
linux-mm@...ck.org, mingo@...e.hu, riel@...hat.com,
rostedt@...dmis.org, akpm@...ux-foundation.org, fweisbec@...il.com,
Munehiro Ikeda <m-ikeda@...jp.nec.com>,
Atsushi Tsuji <a-tsuji@...jp.nec.com>
Subject: Re: [RFC PATCH -tip 2/2 v2] add a scripts for pagecache usage per
process
Hello,
(02/01/10 03:17), Tom Zanussi wrote:
> Here's one way, using the tracepoint filters - it does make a big
> difference in this case.
>
> Before (using the new -P option, which includes perf in the trace
> data):
>
> root@...picana:~# perf record -c 1 -f -a -M -R -e filemap:add_to_page_cache -e filemap:find_get_page -e filemap:remove_from_page_cache -P sleep 5
> [ perf record: Woken up 0 times to write data ]
> [ perf record: Captured and wrote 71.201 MB perf.data (~3110815 samples) ]
>
> After (filters out events generated by perf):
>
> root@...picana:~# perf record -c 1 -f -a -M -R -e filemap:add_to_page_cache -e filemap:find_get_page -e filemap:remove_from_page_cache sleep 5
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 0.309 MB perf.data (~13479 samples) ]
I tried your patch.
It works well for me. Thank you.
Keiichi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists