f2fs: add tracepoints for truncate operation
authorNamjae Jeon <namjae.jeon@samsung.com>
Fri, 19 Apr 2013 16:28:52 +0000 (01:28 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 23 Apr 2013 07:40:38 +0000 (16:40 +0900)
commit51dd62493477923723c797c6da60121ed39900ed
tree7589f4396dc6caf0c043831d6677989babcfa7cf
parenta2a4a7e4abb27c833d4e09ac1d434ab48a64062c
f2fs: add tracepoints for truncate operation

add tracepoints for tracing the truncate operations
like truncate node/data blocks, f2fs_truncate etc.

Tracepoints are added at entry and exit of operation
to trace the success & failure of operation.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Pankaj Kumar <pankaj.km@samsung.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
[Jaegeuk: combine and modify the tracepoint structures]
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/file.c
fs/f2fs/node.c
include/trace/events/f2fs.h