diff options
author | Maxime Ripard <mripard@kernel.org> | 2024-07-30 09:09:23 +0200 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2024-07-30 09:09:23 +0200 |
commit | a1ff5a7d78a036d6c2178ee5acd6ba4946243800 (patch) | |
tree | 6652a7fba9fc417eaf327b7578447a4583ebd5da /tools/perf/scripts/python/parallel-perf.py | |
parent | b5fbf924f125ba3638cfdc21c0515eb7e76264ca (diff) | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
Merge drm/drm-fixes into drm-misc-fixes
Let's start the new drm-misc-fixes cycle by bringing in 6.11-rc1.
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
-rwxr-xr-x | tools/perf/scripts/python/parallel-perf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/parallel-perf.py b/tools/perf/scripts/python/parallel-perf.py index 21f32ec5ed46..be85fd7f6632 100755 --- a/tools/perf/scripts/python/parallel-perf.py +++ b/tools/perf/scripts/python/parallel-perf.py @@ -439,7 +439,8 @@ def ProcessCommandOutputLines(cmd, per_cpu, fn, *x): pat = re.compile(r"\s*\[[0-9]+\]") p = subprocess.Popen(cmd, stdout=subprocess.PIPE) while True: - if line := p.stdout.readline(): + line = p.stdout.readline() + if line: line = line.decode("utf-8") if pat.match(line): line = line.split() |