ANDROID: Refactor fs readpage/write tracepoints.
authorMohan Srinivasan <srmohan@google.com>
Fri, 3 Feb 2017 23:48:03 +0000 (15:48 -0800)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 10 Apr 2017 07:42:16 +0000 (13:12 +0530)
commitdb943372859b8acf8b99e258c0f2146238793e12
tree05bccbb627f249beaf9ccf67376812f1ef9e6f03
parent0c2f831ee7b27dc478a3362f6743d0013c8bdd73
ANDROID: Refactor fs readpage/write tracepoints.

Refactor the fs readpage/write tracepoints to move the
inode->path lookup outside the tracepoint code, and pass a pointer
to the path into the tracepoint code instead. This is necessary
because the tracepoint code runs non-preemptible. Thanks to
Trilok Soni for catching this in 4.4.

Change-Id: I7486c5947918d155a30c61d6b9cd5027cf8fbe15
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
fs/ext4/inline.c
fs/ext4/inode.c
fs/ext4/readpage.c
fs/f2fs/data.c
fs/f2fs/inline.c
fs/mpage.c
include/trace/events/android_fs.h
include/trace/events/android_fs_template.h