linux/tools/perf/scripts/python
Tianyou Li df9c299371 perf script: Handle -i option for perf script flamegraph
If specify the perf data file with -i option, the script will try to
read the header information regardless of the file name specified,
instead it will try to access the perf.data. This simple patch use the
file name from -i option for command perf report --header-only to read
the header.

Signed-off-by: Tianyou Li <tianyou.li@intel.com>
Reviewed-by: Pan Deng <pan.deng@intel.com>
Reviewed-by: Zhiguo Zhou <zhiguo.zhou@intel.com>
Reviewed-by: Wangyang Guo <wangyang.guo@intel.com>
Reviewed-by: Tim Chen <tim.c.chen@linux.intel.com>
Link: https://lore.kernel.org/r/20250610040536.2390060-1-tianyou.li@intel.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2025-06-24 10:27:50 -07:00
..
bin perf script: Fix hangup in offline flamegraph report 2025-02-18 16:12:19 -08:00
Perf-Trace-Util perf script: Move script_fetch_insn to trace-event-scripting.c 2024-12-18 16:24:32 -03:00
arm-cs-trace-disasm.py perf script python: Adjust objdump start/end per map pgoff parameter 2024-11-08 22:42:57 -08:00
check-perf-trace.py
compaction-times.py perf tools: Address python 3.6 DeprecationWarning for string scapes 2023-11-23 10:56:09 -03:00
event_analyzing_sample.py
export-to-postgresql.py
export-to-sqlite.py
exported-sql-viewer.py perf scripts python: exported-sql-viewer.py: Fix pattern matching with Python 3 2025-05-12 14:18:16 -03:00
failed-syscalls-by-pid.py
flamegraph.py perf script: Handle -i option for perf script flamegraph 2025-06-24 10:27:50 -07:00
futex-contention.py
gecko.py perf scripts python gecko: Launch the profiler UI on the default browser with the appropriate URL 2023-08-24 14:41:49 -03:00
intel-pt-events.py
libxed.py
mem-phys-addr.py perf script python: Improve physical mem type resolution 2024-12-09 17:51:53 -03:00
net_dropmonitor.py
netdev-times.py perf script: netdev-times: add location parameter to consume_skb 2024-06-06 23:29:23 -07:00
parallel-perf.py tools/perf: Fix parallel-perf python script to replace new python syntax ":=" usage 2024-06-25 11:06:19 -07:00
powerpc-hcalls.py
sched-migration.py
sctop.py
stackcollapse.py
stat-cpi.py
syscall-counts-by-pid.py
syscall-counts.py
task-analyzer.py