From 7ab955ec1f9970456a02a66b59675ba7ab417b79 Mon Sep 17 00:00:00 2001 From: Gustavo Romero Date: Fri, 27 Jan 2023 18:44:05 +0000 Subject: [PATCH] tracing: scripts: Fix spelling Fix the spelling of Babeltrace library in the warning message displayed when such a library can not be imported. Signed-off-by: Gustavo Romero --- scripts/tracing/parse_ctf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tracing/parse_ctf.py b/scripts/tracing/parse_ctf.py index 41d81cdc505..9979623cfa5 100644 --- a/scripts/tracing/parse_ctf.py +++ b/scripts/tracing/parse_ctf.py @@ -26,7 +26,7 @@ import argparse try: import bt2 except ImportError: - sys.exit("Missing dependency: You need to install python bindings of babletrace.") + sys.exit("Missing dependency: You need to install python bindings of babeltrace.") def parse_args(): parser = argparse.ArgumentParser( @@ -111,7 +111,7 @@ def main(): tin = th.get('in', None) tout = th.get('out', None) if tout is not None and tin is not None: - diff = (tout - tin) + diff = tout - tin th['runtime'] = diff elif event.name in ['thread_switched_in']: th['in'] = ns_from_origin