InstTracer.py revision 9338
12207SN/A# Copyright (c) 2007 The Regents of The University of Michigan
22207SN/A# All rights reserved.
32207SN/A#
42207SN/A# Redistribution and use in source and binary forms, with or without
52207SN/A# modification, are permitted provided that the following conditions are
62207SN/A# met: redistributions of source code must retain the above copyright
72207SN/A# notice, this list of conditions and the following disclaimer;
82207SN/A# redistributions in binary form must reproduce the above copyright
92207SN/A# notice, this list of conditions and the following disclaimer in the
102207SN/A# documentation and/or other materials provided with the distribution;
112207SN/A# neither the name of the copyright holders nor the names of its
122207SN/A# contributors may be used to endorse or promote products derived from
132207SN/A# this software without specific prior written permission.
142207SN/A#
152207SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
162207SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
172207SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
182207SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
192207SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
202207SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
212207SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
222207SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
232207SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
242207SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
252207SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
262207SN/A#
272665Ssaidi@eecs.umich.edu# Authors: Gabe Black
282665Ssaidi@eecs.umich.edu
292665Ssaidi@eecs.umich.edufrom m5.SimObject import SimObject
302207SN/Afrom m5.params import *
312207SN/A
322972Sgblack@eecs.umich.educlass InstTracer(SimObject):
332207SN/A    type = 'InstTracer'
342454SN/A    cxx_class = 'Trace::InstTracer'
355759Shsul@eecs.umich.edu    abstract = True
362454SN/A    cxx_header = "sim/insttracer.hh"
372680Sktlim@umich.edu