Page cache miss tracing using ftrace on mm/filemap
authorDaniel Campello <campello@google.com>
Mon, 20 Jul 2015 17:37:56 +0000 (10:37 -0700)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 27 Oct 2015 08:35:08 +0000 (16:35 +0800)
commit63dbcf66cd66e9f762d3504ad2bafb06af1e33d5
tree8422c769f493a563b52e0cd91ffa500141b348de
parent2d5778b3fa4e8395184f3006794e1fba2ac3e38e
Page cache miss tracing using ftrace on mm/filemap

This patch includes two trace events on generic_perform_write and
do_generic_file_read to check on the address_space mapping for the
pages to be accessed by the request.

Change-Id: Ib319b9b2c971b9e5c76645be6cfd995ef9465d77
Signed-off-by: Daniel Campello <campello@google.com>
(cherry picked from commit d3952c50853166bd04562766c9603ed86ab0da75)

Conflicts:
include/linux/pagemap.h
include/linux/pagemap.h
include/trace/events/filemap.h
mm/filemap.c