2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/tools/perf/scripts/python
Namhyung Kim 29bab85418 perf script: Fix hangup in offline flamegraph report
A recent change in the flamegraph script fixed an issue with live mode
but it created another for offline mode.  It needs to pass "-" to -i
option to read from stdin in the live mode.  Actually there's a logic
to pass the option in the perf script code, but the script was written
with "-- $@" which prevented the option to go to the perf script.  So
the previous commit added the hard-coded "-i -" to the report command.

But it's a problem for the offline mode which expects input from a file
and now it's stuck on reading from stdin.  Let's remove the "-i - --"
part and let it pass the options properly to perf script.

Closes: https://lore.kernel.org/linux-perf-users/c41e4b04-e1fd-45ab-80b0-ec2ac6e94310@linux.ibm.com
Fixes: 23e0a63c6d ("perf script: force stdin for flamegraph in live mode")
Reported-by: Thomas Richter <tmricht@linux.ibm.com>
Tested-by: Thomas Richter <tmricht@linux.ibm.com>
Cc: Anubhav Shelat <ashelat@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2025-02-18 16:12:19 -08: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 tools: Address python 3.6 DeprecationWarning for string scapes 2023-11-23 10:56:09 -03:00
failed-syscalls-by-pid.py
flamegraph.py
futex-contention.py
gecko.py
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