Skip to contentSkip to conversation

parse.f2fs: fix parsing of f2fs_trace_ios

PATCH New Sahitya Tummala 1 participant 1 message Dec 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 parse.f2fs: fix parsing of f2fs_trace_ios

It is incorrectly taking blkaddr as len because it missed to parse op_flags in the trace print of f2fs_trace_ios.

---
 tools/f2fs_io_parse.c | 2 ++
 1 file changed, 2 insertions(+)
tools/f2fs_io_parse.c +2 -0
index 7f97270..d146ead 100644
@@ -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, " ");
Signature · 2 lines
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.