summary refs log tree commit diff
path: root/ripple/minitrace/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ripple/minitrace/src/main.rs')
-rw-r--r--ripple/minitrace/src/main.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs
index 7053d22..1b67011 100644
--- a/ripple/minitrace/src/main.rs
+++ b/ripple/minitrace/src/main.rs
@@ -147,13 +147,12 @@ impl Process {
 		for &mut maps_file::Mapping {
 			start,
 			end,
-			dev,
 			inode,
 			ref mut pathname,
 			..
 		} in &mut mappings
 		{
-			if (dev, inode) == ((0, 0), 0) {
+			if inode.is_none() {
 				let is_special = pathname.starts_with('[') && pathname.ends_with(']');
 				assert!(is_special || pathname.is_empty());
 				// these won't exist in map_files
@@ -184,7 +183,7 @@ impl Process {
 			let mut segment = vec![];
 			segment.push(last);
 			while let Some(&next) = mappings.peek() {
-				if last.dev != next.dev || last.inode != next.inode {
+				if last.inode != next.inode {
 					// not the same file
 					break;
 				}