parse.f2fs: fix parsing of f2fs_trace_ios
authorSahitya Tummala <stummala@codeaurora.org>
Fri, 28 Dec 2018 07:36:43 +0000 (13:06 +0530)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 28 Dec 2018 20:55:36 +0000 (12:55 -0800)
It is incorrectly taking blkaddr as len because it missed to parse
op_flags in the trace print of f2fs_trace_ios.

Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
tools/f2fs_io_parse.c

index 7f97270..d146ead 100644 (file)
@@ -191,6 +191,8 @@ static void handle_tp_ios(char *ptr)
        rw = atoh(ptr);
 
        ptr = strtok(NULL, " ");
+       /* int op_flags = atoh(ptr) */
+       ptr = strtok(NULL, " ");
        /* unsigned long long blkaddr = atoh(ptr); */
 
        ptr = strtok(NULL, " ");