pmdas/perf: Add support for hv_24x7 nest events on mutlinode system
pmdas/perf: Add support for hv_24x7 nest events on mutlinode system

For dynamic perf events like hv_24x7 nest event, `chip_id` is also an
event parameter. So for multinode systems, same event can be defined for
different nodes(/chips) in the system.

Add support for hv_24x7 nest events in mutinode systems.

Eg:

---> perfevent.conf
[dynamic]
hv_24x7.PM_PB_CYC 4     chip:0
hv_24x7.PM_PB_CYC 13    chip:1
hv_24x7.PM_MBA0_CLK_CYC 4 chip:0
hv_24x7.PM_MBA0_CLK_CYC 14 chip:1

# pminfo | grep PM_PB_CYC
perfevent.hwcounters.hv_24x7.PM_PB_CYC_chip_1.dutycycle
perfevent.hwcounters.hv_24x7.PM_PB_CYC_chip_1.value
perfevent.hwcounters.hv_24x7.PM_PB_CYC_chip_0.dutycycle
perfevent.hwcounters.hv_24x7.PM_PB_CYC_chip_0.value

# pmval perfevent.hwcounters.hv_24x7.PM_PB_CYC_chip_0.value
metric:    perfevent.hwcounters.hv_24x7.PM_PB_CYC_chip_0.value
host:      ####
semantics: cumulative counter (converting to rate)
units:     count (converting to count / sec)
samples:   all

              cpu4
            7.805E+06

# pmval perfevent.hwcounters.hv_24x7.PM_PB_CYC_chip_1.value

metric:    perfevent.hwcounters.hv_24x7.PM_PB_CYC_chip_1.value
host:      ####
semantics: cumulative counter (converting to rate)
units:     count (converting to count / sec)
samples:   all

             cpu13
            7.805E+06
            7.805E+06

Signed-off-by: Madhavan Srinivasan <50c9fed97c2a760bbf32e7fdccf39ca6a997eabd@linux.vnet.ibm.com>
Signed-off-by: Anju T Sudhakar <e8c8e1f4d2d74e058c71d5cc0f36846d7866f919@linux.vnet.ibm.com>

adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp