linux/tools/perf/tests/shell
Namhyung Kim c9cd0c7e52 perf test: Add python JIT dump test
Add a test case for the python interpreter like below so that we can
make sure it won't break again.  To validate the effect of build-ID
generation, it adds and removes the JIT'ed DSOs to/from the build-ID
cache for the test.

  $ perf test -vv jitdump
   84: python profiling with jitdump:
  --- start ---
  test child forked, pid 214316
  Run python with -Xperf_jit
  [ perf record: Woken up 5 times to write data ]
  [ perf record: Captured and wrote 1.180 MB /tmp/__perf_test.perf.data.XbqZNm (140 samples) ]
  Generate JIT-ed DSOs using perf inject
  Add JIT-ed DSOs to the build-ID cache
  Check the symbol containing the script name
  Found 108 matching lines
  Remove JIT-ed DSOs from the build-ID cache
  ---- end(0) ----
   84: python profiling with jitdump                                   : Ok

Cc: Pablo Galindo <pablogsal@gmail.com>
Link: https://docs.python.org/3/howto/perf_profiling.html#how-to-work-without-frame-pointers
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2025-12-02 16:06:57 -08:00
..
attr perf test attr: Add missing int_mist.uop_dropping event to test-stat files 2025-09-19 12:41:50 -03:00
base_probe perf test perftool_testsuite: Use absolute paths 2025-10-01 09:44:05 -03:00
base_report perf test perftool_testsuite: Use absolute paths 2025-10-01 09:44:05 -03:00
common perf test perftool_testsuite: Use absolute paths 2025-10-01 09:44:05 -03:00
coresight perf test coresight: Dismiss clang warning for unroll loop thread 2025-10-06 16:49:25 -03:00
lib perf test: Be tolerant of missing json metric none value 2025-11-16 23:24:00 -08:00
amd-ibs-swfilt.sh perf test: AMD IBS swfilt skip kernel tests if paranoia is >1 2025-09-19 12:14:29 -03:00
annotate.sh
attr.sh
buildid.sh
daemon.sh
diff.sh
drm_pmu.sh
ftrace.sh
header.sh
jitdump-python.sh perf test: Add python JIT dump test 2025-12-02 16:06:57 -08:00
list.sh
lock_contention.sh perf test shell lock_contention: Extra debug diagnostics 2025-09-03 12:34:54 -03:00
perf-report-hierarchy.sh
perftool-testsuite_probe.sh
perftool-testsuite_report.sh
pipe_test.sh
probe_vfs_getname.sh
python-use.sh perf test: Add an 'import perf' test shell script 2025-10-01 16:59:06 -03:00
record_bpf_filter.sh
record_lbr.sh perf test shell lbr: Avoid failures with perf event paranoia 2025-09-19 12:14:30 -03:00
record_offcpu.sh
record_sideband.sh
record_weak_term.sh perf test: Add test that command line period overrides sysfs/json values 2025-11-09 23:07:57 -08:00
record.sh perf record: Add auto counter reload parse and regression tests 2025-10-03 16:49:51 -03:00
record+probe_libc_inet_pton.sh
record+script_probe_vfs_getname.sh
record+zstd_comp_decomp.sh
sched.sh
script.sh
stat_all_metricgroups.sh perf test stat: Ignore failures in Default[234] metricgroups 2025-11-11 16:48:35 -08:00
stat_all_metrics.sh perf test all metrics: Fully ignore Default metric failures 2025-11-20 11:08:46 -08:00
stat_all_pfm.sh
stat_all_pmu.sh
stat_bpf_counters_cgrp.sh
stat_bpf_counters.sh
stat_metrics_values.sh
stat.sh perf test stat: Update test expectations and events 2025-11-11 16:48:35 -08:00
stat+csv_output.sh perf test stat csv: Update test expectations and events 2025-11-11 16:48:36 -08:00
stat+csv_summary.sh
stat+event_uniquifying.sh perf test: Avoid uncore_imc/clockticks in uniquification test 2025-09-19 16:50:21 -03:00
stat+json_output.sh perf test stat+json: Improve metric-only testing 2025-11-11 16:48:35 -08:00
stat+shadow_stat.sh perf test stat: Update shadow test to use metrics 2025-11-11 16:48:35 -08:00
stat+std_output.sh perf test stat: Update std_output testing metric expectations 2025-11-11 16:48:35 -08:00
test_arm_callgraph_fp.sh
test_arm_coresight_disasm.sh
test_arm_coresight.sh
test_arm_spe_fork.sh
test_arm_spe.sh
test_bpf_metadata.sh perf test: Checking BPF metadata collection fails on version string 2025-09-04 16:37:19 -07:00
test_brstack.sh perf test: Extend branch stack sampling test for Arm64 BRBE 2025-10-01 15:31:49 -03:00
test_data_symbol.sh
test_event_open_fallback.sh perf test: Fix hybrid testing of event fallback test 2025-12-02 16:02:47 -08:00
test_intel_pt.sh
test_java_symbol.sh
test_perf_data_converter_json.sh
test_stat_intel_tpebs.sh
test_task_analyzer.sh
test_uprobe_from_different_cu.sh
trace_btf_enum.sh perf test trace_btf_enum: Skip if permissions are insufficient 2025-09-03 12:34:54 -03:00
trace_btf_general.sh
trace_exit_race.sh
trace_record_replay.sh
trace_summary.sh
trace+probe_vfs_getname.sh