Commit bf5f027a authored by Shane Snyder's avatar Shane Snyder
Browse files

Merge branch 'carns/dev-292-plot-negative-mmap' into 'master'

filter out negative mmap values when plotting op counts in

Closes #292

See merge request darshan/darshan!70
parents d4e2e8b5 18eb813e
......@@ -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})
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