--- a/libpp/parse_filename.cpp
+++ b/libpp/parse_filename.cpp
@@ -237,7 +237,7 @@
 		unitmask == parsed.unitmask &&
 		tgid == parsed.tgid &&
 		tid == parsed.tid &&
-		cpu == parsed.tid;
+		cpu == parsed.cpu;
 }
 
 ostream & operator<<(ostream & out, parsed_filename const & data)