diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-04-23 12:31:46 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-06-08 15:53:30 +0200 |
| commit | d54d38fed95099e742a58648022feb66ecd85e40 (patch) | |
| tree | c0db5d32345843e368e10a21e9c1a5198cd5e302 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4c45ac362324262d03c66a19d5e9670b99afc94c (diff) | |
btrfs: add missing unlikely to if branches leading to a DEBUG_WARN()
If statement branches that lead to a DEBUG_WARN() are unexpected to happen
and in most places we surround their expressions with the unlikely tag,
however a few places are missing. Add the unlikely tag to those missing
places to make it explicit to a reader that it's not expected and to hint
the compiler to generate better code.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
