linux/tools/perf/scripts/python/bin
Ravi Bangoria ec1e6e6a68 perf script powerpc: Python script for hypervisor call statistics
Add python script to show hypervisor call statistics. Ex,

  # perf record -a -e "{powerpc:hcall_entry,powerpc:hcall_exit}"
  # perf script -s scripts/python/powerpc-hcalls.py
    hcall                            count   min(ns)   max(ns)   avg(ns)
    --------------------------------------------------------------------
    H_RANDOM                            82       838      1164       904
    H_PUT_TCE                           47      1078      5928      2003
    H_EOI                              266      1336      3546      1654
    H_ENTER                             28      1646      4038      1952
    H_PUT_TCE_INDIRECT                 230      2166     18168      6109
    H_IPI                              238      1072      3232      1688
    H_SEND_LOGICAL_LAN                  42      5488     21366      7694
    H_STUFF_TCE                        294       986      6210      3591
    H_XIRR                             266      2286      6990      3783
    H_PROTECT                           10      2196      3556      2555
    H_VIO_SIGNAL                       294      1028      2784      1311
    H_ADD_LOGICAL_LAN_BUFFER            53      1978      3450      2600
    H_SEND_CRQ                          77      1762      7240      2447

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20180605124801.17210-1-ravi.bangoria@linux.ibm.com
[ Fixup typo: table_loockup -> table_lookup ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-06-06 12:52:06 -03:00
..
compaction-times-record perf scripts python: Add new compaction-times script 2015-08-28 14:53:40 -03:00
compaction-times-report perf scripts python: Add new compaction-times script 2015-08-28 14:53:40 -03:00
event_analyzing_sample-record perf scripts: Add event_analyzing_sample-record/report 2012-09-17 13:11:15 -03:00
event_analyzing_sample-report perf scripts: Add event_analyzing_sample-record/report 2012-09-17 13:11:15 -03:00
export-to-postgresql-record perf script: Add Python script to export to postgresql 2014-10-29 10:32:49 -02:00
export-to-postgresql-report perf tools: Add call information to Python export 2014-11-03 18:10:06 -03:00
export-to-sqlite-record perf script python: Add support for exporting to sqlite3 2017-08-15 16:37:55 -03:00
export-to-sqlite-report perf script python: Add support for exporting to sqlite3 2017-08-15 16:37:55 -03:00
failed-syscalls-by-pid-record perf scripts: Fallback to syscalls:* when raw_syscalls:* is not available 2014-06-25 12:26:56 -03:00
failed-syscalls-by-pid-report perf script: Finish the rename from trace to script 2010-12-25 11:29:02 -02:00
futex-contention-record perf trace scripting: remove system-wide param from shell scripts 2010-11-10 08:08:20 -06:00
futex-contention-report perf script: Finish the rename from trace to script 2010-12-25 11:29:02 -02:00
intel-pt-events-record perf intel-pt: Add example script for power events and PTWRITE 2017-06-30 11:50:53 -03:00
intel-pt-events-report perf intel-pt: Add example script for power events and PTWRITE 2017-06-30 11:50:53 -03:00
mem-phys-addr-record perf script python: Add script to profile and resolve physical mem type 2018-01-12 11:06:57 -03:00
mem-phys-addr-report perf script python: Add script to profile and resolve physical mem type 2018-01-12 11:06:57 -03:00
net_dropmonitor-record perf script: Add drop monitor script 2011-09-29 16:41:37 -03:00
net_dropmonitor-report perf script: Add drop monitor script 2011-09-29 16:41:37 -03:00
netdev-times-record perf trace scripting: remove system-wide param from shell scripts 2010-11-10 08:08:20 -06:00
netdev-times-report perf script: Finish the rename from trace to script 2010-12-25 11:29:02 -02:00
powerpc-hcalls-record perf script powerpc: Python script for hypervisor call statistics 2018-06-06 12:52:06 -03:00
powerpc-hcalls-report perf script powerpc: Python script for hypervisor call statistics 2018-06-06 12:52:06 -03:00
sched-migration-record perf trace scripting: remove system-wide param from shell scripts 2010-11-10 08:08:20 -06:00
sched-migration-report perf script: Finish the rename from trace to script 2010-12-25 11:29:02 -02:00
sctop-record perf scripts: Fallback to syscalls:* when raw_syscalls:* is not available 2014-06-25 12:26:56 -03:00
sctop-report perf script: Finish the rename from trace to script 2010-12-25 11:29:02 -02:00
stackcollapse-record perf script: Add stackcollapse.py script 2016-06-21 13:18:35 -03:00
stackcollapse-report perf script: Add stackcollapse.py script 2016-06-21 13:18:35 -03:00
syscall-counts-by-pid-record perf scripts: Fallback to syscalls:* when raw_syscalls:* is not available 2014-06-25 12:26:56 -03:00
syscall-counts-by-pid-report perf script: Finish the rename from trace to script 2010-12-25 11:29:02 -02:00
syscall-counts-record perf scripts: Fallback to syscalls:* when raw_syscalls:* is not available 2014-06-25 12:26:56 -03:00
syscall-counts-report perf script: Finish the rename from trace to script 2010-12-25 11:29:02 -02:00