InstPBTrace.py revision 10695
12131SN/A# Copyright (c) 2007 The Regents of The University of Michigan
25268Sksewell@umich.edu# All rights reserved.
35224Sksewell@umich.edu#
45224Sksewell@umich.edu# Redistribution and use in source and binary forms, with or without
52131SN/A# modification, are permitted provided that the following conditions are
65224Sksewell@umich.edu# met: redistributions of source code must retain the above copyright
75224Sksewell@umich.edu# notice, this list of conditions and the following disclaimer;
85224Sksewell@umich.edu# redistributions in binary form must reproduce the above copyright
95224Sksewell@umich.edu# notice, this list of conditions and the following disclaimer in the
105224Sksewell@umich.edu# documentation and/or other materials provided with the distribution;
115224Sksewell@umich.edu# neither the name of the copyright holders nor the names of its
125224Sksewell@umich.edu# contributors may be used to endorse or promote products derived from
135224Sksewell@umich.edu# this software without specific prior written permission.
145224Sksewell@umich.edu#
155224Sksewell@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
162131SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
175224Sksewell@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
185224Sksewell@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
195224Sksewell@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
205224Sksewell@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
215224Sksewell@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
225224Sksewell@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
235224Sksewell@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
245224Sksewell@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
255224Sksewell@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
265224Sksewell@umich.edu#
275224Sksewell@umich.edu# Authors: Gabe Black
282665Ssaidi@eecs.umich.edu
295224Sksewell@umich.edufrom m5.SimObject import SimObject
305224Sksewell@umich.edufrom m5.params import *
315222Sksewell@umich.edufrom InstTracer import InstTracer
322131SN/A
332131SN/Aclass InstPBTrace(InstTracer):
342239SN/A    type = 'InstPBTrace'
352239SN/A    cxx_class = 'Trace::InstPBTrace'
362131SN/A    cxx_header = 'cpu/inst_pb_trace.hh'
372131SN/A    file_name = Param.String("Instruction trace output file")
382447SN/A