main.py (5873:67a6ea624776) main.py (5879:e9f9c0f7e5f0)
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 298 unchanged lines hidden (view full) ---

307 for flag in on_flags:
308 trace.set(flag)
309
310 for flag in off_flags:
311 trace.clear(flag)
312
313 if options.trace_start:
314 check_tracing()
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 298 unchanged lines hidden (view full) ---

307 for flag in on_flags:
308 trace.set(flag)
309
310 for flag in off_flags:
311 trace.clear(flag)
312
313 if options.trace_start:
314 check_tracing()
315 e = event.create(trace.enable)
315 e = event.create(trace.enable, Event.Trace_Enable_Pri)
316 event.mainq.schedule(e, options.trace_start)
317 else:
318 trace.enable()
319
320 trace.output(options.trace_file)
321
322 for ignore in options.trace_ignore:
323 check_tracing()

--- 60 unchanged lines hidden ---
316 event.mainq.schedule(e, options.trace_start)
317 else:
318 trace.enable()
319
320 trace.output(options.trace_file)
321
322 for ignore in options.trace_ignore:
323 check_tracing()

--- 60 unchanged lines hidden ---