• Kajol Jain's avatar
    perf vendor events power9: Add hv_24x7 socket/chip level metric events · 354575c0
    Kajol Jain authored
    The hv_24×7 feature in IBM® POWER9 processor-based servers provide the
    facility to continuously collect large numbers of hardware performance
    metrics efficiently and accurately.
    
    This patch adds hv_24x7  metric file for different Socket/chip
    resources.
    
    Result:
    
    power9 platform:
    
      command:# ./perf stat --metric-only -M Memory_RD_BW_Chip -C 0 -I 1000
    
         1.000096188          0.9           0.3
         2.000285720          0.5           0.1
         3.000424990          0.4           0.1
    
      command:# ./perf stat --metric-only -M PowerBUS_Frequency -C 0 -I 1000
    
         1.000097981          2.3           2.3
         2.000291713          2.3           2.3
         3.000421719          2.3           2.3
         4.000550912          2.3           2.3
    Signed-off-by: default avatarKajol Jain <kjain@linux.ibm.com>
    Acked-by: default avatarJiri Olsa <jolsa@redhat.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Andi Kleen <ak@linux.intel.com>
    Cc: Anju T Sudhakar <anju@linux.vnet.ibm.com>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Jin Yao <yao.jin@linux.intel.com>
    Cc: Joe Mario <jmario@redhat.com>
    Cc: Kan Liang <kan.liang@linux.intel.com>
    Cc: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
    Cc: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: Michael Petlan <mpetlan@redhat.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Paul Mackerras <paulus@ozlabs.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
    Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linuxppc-dev@lists.ozlabs.org
    Link: http://lore.kernel.org/lkml/20200401203340.31402-8-kjain@linux.ibm.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    354575c0
nest_metrics.json 844 Bytes