diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2020-06-15 09:48:47 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-24 17:08:32 +0200 |
| commit | 0d1ffef5782628aede95d5390c658c2027c53c55 (patch) | |
| tree | 23eab77ac819b2f50a162a219d8e0b922f4d3990 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 881c8783e9608be9f86d67705dc7b5adeb3e4808 (diff) | |
| download | cachepc-linux-0d1ffef5782628aede95d5390c658c2027c53c55.tar.gz cachepc-linux-0d1ffef5782628aede95d5390c658c2027c53c55.zip | |
vt: move rescan_last_byte label earlier
This removes duplicated initialization of variables (after reordering
'c' initialization).
It will also allow for eliminating whole translation into a separate
function in the next patch.
Note that vc_state, vc_utf etc. are checked with every rescan now. But
they are immutable for non-control characters where rescan might be
only necessary.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200615074910.19267-15-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
