IBM Support

IV58471: PERFSTAT_PARTITION_CONFIGáFAILSáWITHáERRNO EINVAL APPLIES TO AIX 7100-03

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

  • ****************************************************************
    * USERS AFFECTED:
    * Systems running the 7100-03 Technology Level with the
    * bos.perf.libperfstat fileset at the 7.1.3.0 level
    ****************************************************************
    * PROBLEM 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.
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IV58471.
    ****************************************************************
    

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

    IV58471

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-04-01

  • Closed date

    2014-04-01

  • 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 U859721

       UP14/05/22 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV58471

Modified date: 10 May 2016