A fix is available
APAR status
Closed as program error.
Error description
In multithreaded environments, the gprof command displays smaller number of function calls than the actual number. In this example the right number of function calls are 256, however we get numbers like 254 or 255, running in a loop. $ ./xlf.out; gprof | grep sub2 [1] 0.0 0.00 0.00 256 .sub2 [1] <== OK 0.00 0.00 256/256 .sub2 [1] 0.0 0.00 0.00 256 0.00 0.00 .sub2 [1] [86] ._lib_mutex_unlock [92] .monitor [1] .sub2 $ ./xlf.out; gprof | grep sub2 [1] 0.0 0.00 0.00 254 .sub2 [1] <== BAD 0.00 0.00 254/254 .sub2 [1] 0.0 0.00 0.00 254 0.00 0.00 .sub2 [1] [86] ._lib_mutex_unlock [92] .monitor [1] .sub2
Local fix
Problem summary
When using gprof to analyze the gmon.out file generated by a multi threaded process, the gprof might show incorrect number of function calls.
Problem conclusion
Ensure counter increments/decrements are thread-safe.
Temporary fix
Comments
6100-07 - use AIX APAR IV58355 6100-08 - use AIX APAR IV57965 6100-09 - use AIX APAR IV56212 6100-09 - use AIX APAR IV56212 6100-09 - use AIX APAR IV56212 7100-01 - use AIX APAR IV57635 7100-02 - use AIX APAR IV51877 7100-03 - use AIX APAR IV56264 7100-04 - use AIX APAR IV56276 ×**** PE16/11/14 PTF IN ERROR. SEE APAR IV87794 FOR DESCRIPTION
APAR Information
APAR number
IV56212
Reported component name
AIX 610 STD EDI
Reported component ID
5765G6200
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2014-03-04
Closed date
2014-03-04
Last modified date
2016-11-14
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX 610 STD EDI
Fixed component ID
5765G6200
Applicable component levels
R610 PSY U861279
UP14/10/28 I 1000
PTF to Fileset Mapping
U861279 bos.adt.prof 6.1.9.30
U859277 bos.adt.prof 6.1.9.15
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLLZP","label":"AIX Standard Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"APARs - AIX 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
14 November 2016