ANDROID: fs: Refactor FS readpage/write tracepoints.
authorMohan Srinivasan <srmohan@google.com>
Fri, 10 Feb 2017 22:26:23 +0000 (14:26 -0800)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commita59d87323780e0de396fe037bae37d5d29bcb828
tree33700ab9f270a763c93b56b5c5e15c989275f951
parent45560fee7fdf35f85a5e8a1d5c18ec25e8cce15c
ANDROID: fs: 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.

Signed-off-by: Mohan Srinivasan <srmohan@google.com>
[AmitP: Folded following android-4.9 commit changes into this patch
        a5c4dbb05ab7 ("ANDROID: Replace spaces by '_' for some android filesystem tracepoints.")]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
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