GitLab maintenance scheduled for Tomorrow, 2019-04-24, from 12:00 to 13:00 CDT - Services will be unavailable during this time.

Commit 55860948 authored by Shane Snyder's avatar Shane Snyder

add parser warnings for new posix/stdio modules

parent a8815d56
......@@ -310,6 +310,13 @@ static void darshan_log_print_posix_description(int ver)
printf("# \t- POSIX_RENAMED_FROM\n");
}
if(ver >= 4)
{
printf("\n# WARNING: POSIX_OPENS counter includes both POSIX_FILENOS and POSIX_DUPS counts\n");
printf("\n# WARNING: POSIX counters related to file offsets may be incorrect if a file is simultaneously accessed by both POSIX and STDIO (e.g., using fileno())\n");
printf("# \t- Affected counters include: MAX_BYTE_{READ|WRITTEN}, CONSEC_{READS|WRITES}, SEQ_{READS|WRITES}, {MEM|FILE}_NOT_ALIGNED, STRIDE*_STRIDE\n");
}
return;
}
......
......@@ -216,6 +216,12 @@ static void darshan_log_print_stdio_description(int ver)
printf("# - No support for properly instrumenting fdopen operations (STDIO_FDOPENS)\n");
}
if(ver >= 2)
{
printf("\n# WARNING: STDIO_OPENS counter includes STDIO_FDOPENS count\n");
printf("\n# WARNING: STDIO counters related to file offsets may be incorrect if a file is simultaneously accessed by both STDIO and POSIX (e.g., using fdopen())\n");
printf("# \t- Affected counters include: MAX_BYTE_{READ|WRITTEN}\n");
}
return;
}
......
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