mirror of https://github.com/torvalds/linux.git
Basic coverage of python script support from `perf script`. Committer testing: $ perf test 'perf script python' 107: perf script python tests : Ok $ perf test -vv 'perf script python' 107: perf script python tests: --- start --- test child forked, pid 595537 Testing event: sched:sched_switch perf script python test [Skipped: failed to record sched:sched_switch] Testing event: task-clock Generating python script... generated Python script: /tmp/__perf_test_script.J4rWj.py Executing python script... perf script python test [Success: task-clock triggered param_dict] ---- end(0) ---- 107: perf script python tests : Ok $ Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@linaro.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Leo Yan <leo.yan@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sandipan Das <sandipan.das@amd.com> Cc: Yujie Liu <yujie.liu@intel.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
|---|---|---|
| .. | ||
| attr | ||
| base_probe | ||
| base_report | ||
| common | ||
| coresight | ||
| lib | ||
| addr2line_inlines.sh | ||
| amd-ibs-swfilt.sh | ||
| annotate.sh | ||
| attr.sh | ||
| buildid.sh | ||
| c2c.sh | ||
| daemon.sh | ||
| data_type_profiling.sh | ||
| diff.sh | ||
| drm_pmu.sh | ||
| evlist.sh | ||
| ftrace.sh | ||
| header.sh | ||
| inject-callchain.sh | ||
| jitdump-python.sh | ||
| kallsyms.sh | ||
| kvm.sh | ||
| list.sh | ||
| lock_contention.sh | ||
| perf-report-hierarchy.sh | ||
| perf_sched_stats.sh | ||
| perftool-testsuite_probe.sh | ||
| perftool-testsuite_report.sh | ||
| pipe_test.sh | ||
| probe_vfs_getname.sh | ||
| python-use.sh | ||
| record+probe_libc_inet_pton.sh | ||
| record+script_probe_vfs_getname.sh | ||
| record+zstd_comp_decomp.sh | ||
| record.sh | ||
| record_bpf_filter.sh | ||
| record_lbr.sh | ||
| record_offcpu.sh | ||
| record_sideband.sh | ||
| record_weak_term.sh | ||
| sched.sh | ||
| script.sh | ||
| script_dlfilter.sh | ||
| script_perl.sh | ||
| script_python.sh | ||
| stat+csv_output.sh | ||
| stat+csv_summary.sh | ||
| stat+event_uniquifying.sh | ||
| stat+json_output.sh | ||
| stat+shadow_stat.sh | ||
| stat+std_output.sh | ||
| stat.sh | ||
| stat_all_metricgroups.sh | ||
| stat_all_metrics.sh | ||
| stat_all_pfm.sh | ||
| stat_all_pmu.sh | ||
| stat_bpf_counters.sh | ||
| stat_bpf_counters_cgrp.sh | ||
| stat_metrics_values.sh | ||
| test_arm_callgraph_fp.sh | ||
| test_arm_coresight.sh | ||
| test_arm_coresight_disasm.sh | ||
| test_arm_spe.sh | ||
| test_arm_spe_fork.sh | ||
| test_bpf_metadata.sh | ||
| test_brstack.sh | ||
| test_data_symbol.sh | ||
| test_event_open_fallback.sh | ||
| test_intel_pt.sh | ||
| test_java_symbol.sh | ||
| test_perf_data_converter_ctf.sh | ||
| test_perf_data_converter_json.sh | ||
| test_stat_intel_tpebs.sh | ||
| test_task_analyzer.sh | ||
| test_uprobe_from_different_cu.sh | ||
| timechart.sh | ||
| top.sh | ||
| trace+probe_vfs_getname.sh | ||
| trace_btf_enum.sh | ||
| trace_btf_general.sh | ||
| trace_exit_race.sh | ||
| trace_record_replay.sh | ||
| trace_summary.sh | ||