Commit 18eb813e authored by Philip Carns's avatar Philip Carns
Browse files

filter out negative mmap values when plotting

parent 583afaa1
......@@ -427,6 +427,12 @@ close TIME_SUMMARY;
# counts of operations
open(PSX_OP_COUNTS, ">$tmp_dir/posix-op-counts.dat") || die("error opening output file: $!\n");
print PSX_OP_COUNTS "# <operation>, <POSIX count>\n";
# filter out negative mmap values (these indicate that mmap was not
# instrumented by Darshan; the value is not meaningful to plot)
if($summary{POSIX_MMAPS} < 0)
{
$summary{POSIX_MMAPS} = 0;
}
if (defined $summary{POSIX_OPENS})
{
print PSX_OP_COUNTS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment