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: 23e0a63c6dd3f69c ("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> |
||
|---|---|---|
| .. | ||
| compaction-times-record | ||
| compaction-times-report | ||
| event_analyzing_sample-record | ||
| event_analyzing_sample-report | ||
| export-to-postgresql-record | ||
| export-to-postgresql-report | ||
| export-to-sqlite-record | ||
| export-to-sqlite-report | ||
| failed-syscalls-by-pid-record | ||
| failed-syscalls-by-pid-report | ||
| flamegraph-record | ||
| flamegraph-report | ||
| futex-contention-record | ||
| futex-contention-report | ||
| gecko-record | ||
| gecko-report | ||
| intel-pt-events-record | ||
| intel-pt-events-report | ||
| mem-phys-addr-record | ||
| mem-phys-addr-report | ||
| net_dropmonitor-record | ||
| net_dropmonitor-report | ||
| netdev-times-record | ||
| netdev-times-report | ||
| powerpc-hcalls-record | ||
| powerpc-hcalls-report | ||
| sched-migration-record | ||
| sched-migration-report | ||
| sctop-record | ||
| sctop-report | ||
| stackcollapse-record | ||
| stackcollapse-report | ||
| syscall-counts-by-pid-record | ||
| syscall-counts-by-pid-report | ||
| syscall-counts-record | ||
| syscall-counts-report | ||
| task-analyzer-record | ||
| task-analyzer-report | ||