Signed-off-by: geraldo netto <geraldone...@gmail.com> --- scripts/loader.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/scripts/loader.py b/scripts/loader.py index 44b84c5..26cda43 100644 --- a/scripts/loader.py +++ b/scripts/loader.py @@ -1,12 +1,13 @@ #!/usr/bin/python2 -import gdb import re -import os, os.path +import os +import os.path import heapq import fnmatch from glob import glob from collections import defaultdict +import gdb arch = 'x64' build_dir = os.path.dirname(gdb.current_objfile().filename) @@ -17,9 +18,13 @@ modules = os.path.join(osv_dir, 'modules') sys.path.append(os.path.join(osv_dir, 'scripts')) -from osv.trace import (Trace, Thread, TracePoint, BacktraceFormatter, - format_time) -from osv import trace, debug +from osv.trace import Trace +from osv.trace import Thread +from osv.trace import TracePoint +from osv.trace import BacktraceFormatter +from osv.trace import format_time +from osv import trace +from osv import debug virtio_driver_type = gdb.lookup_type('virtio::virtio_driver') -- 2.7.4 -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.