[Darshan-commits] [Git][darshan/darshan][master] 2 commits: filter out negative mmap values when plotting

Shane Snyder xgitlab at cels.anl.gov
Tue Dec 1 14:23:01 CST 2020



Shane Snyder pushed to branch master at darshan / darshan


Commits:
18eb813e by Phil Carns at 2020-12-01T13:54:03-05:00
filter out negative mmap values when plotting

- - - - -
bf5f027a by Shane Snyder at 2020-12-01T14:22:59-06:00
Merge branch 'carns/dev-292-plot-negative-mmap' into 'master'

filter out negative mmap values when plotting op counts in darshan-job-summary.pl

Closes #292

See merge request darshan/darshan!70
- - - - -


1 changed file:

- darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in


Changes:

=====================================
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
=====================================
@@ -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



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/d4e2e8b5399c122f31cea1e74401e7335b96226f...bf5f027a4565a37dbdc35c9ccda0de6e978af82b

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/d4e2e8b5399c122f31cea1e74401e7335b96226f...bf5f027a4565a37dbdc35c9ccda0de6e978af82b
You're receiving this email because of your account on xgitlab.cels.anl.gov.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20201201/b17bb083/attachment.html>


More information about the Darshan-commits mailing list