-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#5495: Fix drcachesim fork bug (#5500)
Fixes a bug where drcachesim -offline complained about an open file across a fork. This bug blocked tracing of SPECCPU perlbench. Adds a new test of drcachesim -offline with an app that forks. As is, this matched the -satisfy_w_xor_x test regex, and I tried to make it work with that option by fixing a file close bug here. However, I did not have time to figure out another bug which I filed as #5499. I thus tightened the "fork" regex to exclude this test from -satisfy_w_xor_x. I also had to disable the malloc check and issue a warning for static link offline across fork due to the unsolved #4660. Issue: #5495, #5499, #4660 Fixes #5495
- Loading branch information
1 parent
a2fece6
commit b9bec98
Showing
4 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
parent is running under DynamoRIO | ||
parent waiting for child | ||
child is running under DynamoRIO | ||
child has exited | ||
Cache simulation results: | ||
Core #0 \(1 thread\(s\)\) | ||
L1I stats: | ||
Hits: *[0-9,\.]* | ||
Misses: *[0-9,\.]* | ||
Compulsory misses: *[0-9,\.]* | ||
Invalidations: *0 | ||
.* Miss rate: [0-3][,\.]..% | ||
L1D stats: | ||
Hits: *[0-9,\.]* | ||
Misses: *[0-9,\.]* | ||
Compulsory misses: *[0-9,\.]* | ||
Invalidations: *0 | ||
.* Miss rate: [0-9][,\.]..% | ||
Core #1 \(0 thread\(s\)\) | ||
Core #2 \(0 thread\(s\)\) | ||
Core #3 \(0 thread\(s\)\) | ||
LL stats: | ||
Hits: *[0-9,\.]* | ||
Misses: *[0-9,\.]* | ||
Compulsory misses: *[0-9,\.]* | ||
Invalidations: *0 | ||
.* Local miss rate: *[0-9,.]*% | ||
Child hits: *[0-9,\.]* | ||
Total miss rate: [0-4][,\.]..% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters