@@ -1622,5 +1622,5 @@ sub process {
qr/%[-+ *.0-9]*([hljztL]|ll|hh)?(x|X|"\s*PRI[xX][^"]*"?)/;
- # don't consider groups splitted by [.:/ ], like 2A.20:12ab
+ # don't consider groups split by [.:/ ], like 2A.20:12ab
my $tmpline = $rawline;
$tmpline =~ s/($hex[.:\/ ])+$hex//g;
@@ -29,5 +29,5 @@ class CommunicationFailure(Exception):
class NoPipelineFound(Exception):
- """Communication is successfull but pipeline is not found."""
+ """Communication is successful but pipeline is not found."""
@@ -143,5 +143,5 @@ def make_structname(self) -> str:
def strip_typedef(self) -> Patch:
- """generate patch that will strip typedef from the struct declartion
+ """generate patch that will strip typedef from the struct declaration
The caller is responsible for readding the typedef somewhere else.
@@ -3,5 +3,5 @@
"""
-This takes a crashing qtest trace and tries to remove superflous operations
+This takes a crashing qtest trace and tries to remove superfluous operations
"""
@@ -39,5 +39,5 @@ def usage():
-M1: enable a loop around the remove minimizer, which may help decrease some
- timing dependant instructions. Off by default.
+ timing dependent instructions. Off by default.
-M2: try setting bits in operand of write/out to zero. Off by default.
@@ -178,5 +178,5 @@ def remove_lines(newtrace, outpath):
# from length/2^n bytes to the left does not work, try to move the pivot
# to the right side, then add one to n, until length/2^n == 0. The idea
- # is to prune unneccessary bytes from long writes, while accommodating
+ # is to prune unnecessary bytes from long writes, while accommodating
# arbitrary MemoryRegion access sizes and alignments.
@@ -293,5 +293,5 @@ def minimize_trace(inpath, outpath):
while(old_len > len(newtrace)):
old_len = len(newtrace)
- print("trace lenth = ", old_len)
+ print("trace length = ", old_len)
remove_lines(newtrace, outpath)
if not M1 and not M2:
@@ -5,5 +5,5 @@
# topN_callgrind.py [-h] [-n] <number of displayed top functions> -- \
# <qemu executable> [<qemu executable options>] \
-# <target executable> [<target execurable options>]
+# <target executable> [<target executable options>]
#
# [-h] - Print the script arguments help message.
@@ -5,5 +5,5 @@
# topN_perf.py [-h] [-n] <number of displayed top functions> -- \
# <qemu executable> [<qemu executable options>] \
-# <target executable> [<target execurable options>]
+# <target executable> [<target executable options>]
#
# [-h] - Print the script arguments help message.
@@ -82,5 +82,5 @@ def write(self, output_dir: str) -> None:
os.makedirs(odir, exist_ok=True)
- # use os.open for O_CREAT to create and read a non-existant file
+ # use os.open for O_CREAT to create and read a non-existent file
fd = os.open(pathname, os.O_RDWR | os.O_CREAT, 0o666)
with os.fdopen(fd, 'r+', encoding='utf-8') as fp:
@@ -112,5 +112,5 @@ def print_event(eid, name, string=None, event_count=None):
def decode_unimp(eid, name, _unused_dumpfile):
- "Unimplimented decoder, will trigger exit"
+ "Unimplemented decoder, will trigger exit"
print("%s not handled - will now stop" % (name))
return False
@@ -40,5 +40,5 @@ def bench_block_job(cmd, cmd_args, qemu_args):
Returns {'seconds': int} on success and {'error': str} on failure, dict may
- contain addional 'vm-log' field. Return value is compatible with
+ contain additional 'vm-log' field. Return value is compatible with
simplebench lib.
"""
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> --- scripts/checkpatch.pl | 2 +- scripts/ci/gitlab-pipeline-status | 2 +- scripts/codeconverter/codeconverter/qom_macros.py | 2 +- scripts/oss-fuzz/minimize_qtest_trace.py | 8 ++++---- scripts/performance/topN_callgrind.py | 2 +- scripts/performance/topN_perf.py | 2 +- scripts/qapi/gen.py | 2 +- scripts/replay-dump.py | 2 +- scripts/simplebench/bench_block_job.py | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-)