[PATCH v2 0/2] perf timechart: Add --live mode to the TUI and test
From: Ian Rogers
Date: Wed Oct 14 2026 - 00:23:02 EST
Add a '--live' option to 'perf timechart' and 'ttimechart.py' that streams
live scheduler, power, or I/O (-I/--io-only) events from a 'perf record'
subprocess over a pipe and displays them in the Textual TUI with a rolling
time window (--window, default 10s), pause/resume via the control pipe, an
optional workload after '--', and optional output recording (-o), along
with headless shell tests in test_ttimechart_python.sh.
v2: Rebase the remaining 2 patches onto perf-tools-next after patches 1-11
of v1 were merged.
Alice Rogers (2):
perf timechart: Add a --live mode to the TUI
perf test: Test perf timechart --live
tools/perf/Documentation/perf-timechart.txt | 20 +-
tools/perf/builtin-timechart.c | 80 +-
tools/perf/python/ttimechart.py | 786 ++++++++++++++++--
.../tests/shell/test_ttimechart_python.sh | 300 +++++++
4 files changed, 1111 insertions(+), 75 deletions(-)
--
2.56.0.385.gd3acb90ef8-goog