* [PATCH] parse.f2fs: fix parsing of f2fs_trace_ios
@ 2018-12-28 7:36 Sahitya Tummala
0 siblings, 0 replies; only message in thread
From: Sahitya Tummala @ 2018-12-28 7:36 UTC (permalink / raw)
To: Jaegeuk Kim, Chao Yu, linux-f2fs-devel
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>
---
tools/f2fs_io_parse.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/f2fs_io_parse.c b/tools/f2fs_io_parse.c
index 7f97270..d146ead 100644
--- a/tools/f2fs_io_parse.c
+++ b/tools/f2fs_io_parse.c
@@ -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, " ");
--
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-12-28 7:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-28 7:36 [PATCH] parse.f2fs: fix parsing of f2fs_trace_ios Sahitya Tummala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).