IBM Support

IV58572: PERFSTAT_PARTITION_CONFIGáFAILSáWITHáERRNO EINVAL APPLIES TO AIX 7100-04

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A?self?developed?applications?uses?the?libperfstat?API?an
    d?one?call?to the?perfstat_partition_config?function:
    
    rc?=?perfstat_partition_config??(NULL,?pConfig,?sizeof(pe
    rfstat_partition_config_t),?1);
    
    The?application?was?build?on?AIX?with?libperfstat?6.1.7.1
    6?and everything?runs?fine.
    
    Starting?with?libperfstat?6.1.9.0?the?function?call?retur
    ns?-1?and
    errno?22?(EINVAL).?The?documentation?didn't?report?a?API?
    change?and
    normally?the?API?is?compatible?with?higher?AIX?versions.
    

Local fix

Problem summary

  • A self developed applications uses the libperfstat API and
    one call to the perfstat_partition_config function:
    
    rc = perfstat_partition_config ( NULL, pConfig,
         sizeof(perfstat_partition_config_t),1);
    
    The application was build on AIX with libperfstat 6.1.7.16 and
    everything runs fine.
    
    Starting with libperfstat 6.1.9.0 the function call returns -1
    and errno 22 (EINVAL). The documentation didn't report a API
    change and normally the API is compatible with higher
    AIX versions.
    

Problem conclusion

  • Modified the perfstat_partition_config API to handle this case.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV58736
    6100-08 - use AIX APAR IV58671
    6100-09 - use AIX APAR IV57330
    6100-09 - use AIX APAR IV57330
    6100-09 - use AIX APAR IV57330
    7100-01 - use AIX APAR IV58612
    7100-02 - use AIX APAR IV58585
    7100-03 - use AIX APAR IV58471
    7100-04 - use AIX APAR IV58572
    

APAR Information

  • APAR number

    IV58572

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-04-02

  • Closed date

    2014-04-02

  • Last modified date

    2016-05-10

  • APAR is sysrouted FROM one or more of the following:

    IV57330

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U861541

       UP15/11/22 I 1000

PTF to Fileset Mapping

[{"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":"710","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":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 May 2016