diff options
author | 2024-11-04 14:39:23 +0100 | |
---|---|---|
committer | 2025-03-04 09:43:05 +0100 | |
commit | 954878377bc81459b95937a05f01e8ebf6a05083 (patch) | |
tree | 9d93b71878ca0caf3ab37ea2fd098c6fdd90f577 /tools/perf/scripts/python/task-analyzer.py | |
parent | perf/bpf: Robustify perf_event_free_bpf_prog() (diff) | |
download | wireguard-linux-954878377bc81459b95937a05f01e8ebf6a05083.tar.xz wireguard-linux-954878377bc81459b95937a05f01e8ebf6a05083.zip |
perf/core: Simplify the perf_mmap() control flow
Identity-transform:
if (c) {
X1;
} else {
Y;
goto l;
}
X2;
l:
into the simpler:
if (c) {
X1;
X2;
} else {
Y;
}
[ mingo: Forward ported it ]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Ravi Bangoria <ravi.bangoria@amd.com>
Link: https://lore.kernel.org/r/20241104135519.095904637@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions