From c88c597399edd095cae6ab38c1830d2c8f07102f Mon Sep 17 00:00:00 2001 From: edef Date: Sun, 31 Jul 2022 02:56:13 +0000 Subject: ripple/minitrace: drop redundant TODO map_files reading is already implemented ^_^ Change-Id: I4b56dbb7d8100ee6802e81061174358290ab3201 --- ripple/minitrace/src/main.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'ripple') diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs index 3675d08..7053d22 100644 --- a/ripple/minitrace/src/main.rs +++ b/ripple/minitrace/src/main.rs @@ -139,9 +139,6 @@ impl Process { let pid = self.tgid.as_pid(); let contents = fs::read_to_string(format!("/proc/{pid}/maps"))?; - // TODO(edef): consult /proc/$pid/map_files/* for pathnames, since /proc/$pid/maps is unreliable with odd paths - // we'll want to verify the two against each other, just to be sure they're congruent - let mut mappings = contents .lines() .map(maps_file::parse_mapping_line) -- cgit 1.4.1