linux/tools/perf/python
Ian Rogers b9514a9a13 perf python: Fix MetricGroup return type in perf.pyi
The metrics() function can return a dictionary where the value is either
a string or a list of strings, so the type signature in the stub file
should be Union[str, List[str]].

Fixes: 430da3cd03b4 ("perf python: Add perf.pyi stubs file")
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2026-08-09 22:02:41 -07:00
..
counting.py perf python: Add counting.py as example for counting perf events 2025-05-22 22:24:58 -03:00
ilist.py perf ilist: Be tolerant of reading a metric on the wrong CPU 2025-12-02 16:12:49 -08:00
perf_live.py perf python: Add LiveSession helper 2026-06-30 10:17:19 -07:00
perf.pyi perf python: Fix MetricGroup return type in perf.pyi 2026-08-09 22:02:41 -07:00
tracepoint.py perf python tracepoint.py: Change the COMM using setproctitle if available 2025-03-18 16:08:22 -07:00
twatch.py tweewide: Fix most Shebang lines 2020-12-08 23:30:04 +09:00