main.py (5604:7c58fc1ec5dc) main.py (5606:6da7a58b0bc8)
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

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

321 internal.trace.set(flag)
322
323 for flag in off_flags:
324 internal.trace.clear(flag)
325
326 if options.trace_start:
327 def enable_trace():
328 internal.trace.cvar.enabled = True
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

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

321 internal.trace.set(flag)
322
323 for flag in off_flags:
324 internal.trace.clear(flag)
325
326 if options.trace_start:
327 def enable_trace():
328 internal.trace.cvar.enabled = True
329 event.create(enable_trace, int(options.trace_start))
329
330 e = event.create(enable_trace)
331 event.mainq.schedule(e, options.trace_start)
330 else:
331 internal.trace.cvar.enabled = True
332
333 internal.trace.output(options.trace_file)
334
335 for ignore in options.trace_ignore:
336 internal.trace.ignore(ignore)
337

--- 58 unchanged lines hidden ---
332 else:
333 internal.trace.cvar.enabled = True
334
335 internal.trace.output(options.trace_file)
336
337 for ignore in options.trace_ignore:
338 internal.trace.ignore(ignore)
339

--- 58 unchanged lines hidden ---