110663SAli.Saidi@ARM.com# Copyright (c) 2007 The Regents of The University of Michigan
210663SAli.Saidi@ARM.com# All rights reserved.
310663SAli.Saidi@ARM.com#
410663SAli.Saidi@ARM.com# Redistribution and use in source and binary forms, with or without
510663SAli.Saidi@ARM.com# modification, are permitted provided that the following conditions are
610663SAli.Saidi@ARM.com# met: redistributions of source code must retain the above copyright
710663SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer;
810663SAli.Saidi@ARM.com# redistributions in binary form must reproduce the above copyright
910663SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer in the
1010663SAli.Saidi@ARM.com# documentation and/or other materials provided with the distribution;
1110663SAli.Saidi@ARM.com# neither the name of the copyright holders nor the names of its
1210663SAli.Saidi@ARM.com# contributors may be used to endorse or promote products derived from
1310663SAli.Saidi@ARM.com# this software without specific prior written permission.
1410663SAli.Saidi@ARM.com#
1510663SAli.Saidi@ARM.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1610663SAli.Saidi@ARM.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1710663SAli.Saidi@ARM.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1810663SAli.Saidi@ARM.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1910663SAli.Saidi@ARM.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2010663SAli.Saidi@ARM.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2110663SAli.Saidi@ARM.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2210663SAli.Saidi@ARM.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2310663SAli.Saidi@ARM.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2410663SAli.Saidi@ARM.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2510663SAli.Saidi@ARM.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2610663SAli.Saidi@ARM.com#
2710663SAli.Saidi@ARM.com# Authors: Gabe Black
2810663SAli.Saidi@ARM.com
2910663SAli.Saidi@ARM.comfrom m5.SimObject import SimObject
3010663SAli.Saidi@ARM.comfrom m5.params import *
3113665Sandreas.sandberg@arm.comfrom m5.objects.InstTracer import InstTracer
3210663SAli.Saidi@ARM.com
3310663SAli.Saidi@ARM.comclass ExeTracer(InstTracer):
3410663SAli.Saidi@ARM.com    type = 'ExeTracer'
3510663SAli.Saidi@ARM.com    cxx_class = 'Trace::ExeTracer'
3610663SAli.Saidi@ARM.com    cxx_header = "cpu/exetrace.hh"
3710663SAli.Saidi@ARM.com
3810663SAli.Saidi@ARM.comclass IntelTrace(InstTracer):
3910663SAli.Saidi@ARM.com    type = 'IntelTrace'
4010663SAli.Saidi@ARM.com    cxx_class = 'Trace::IntelTrace'
4110663SAli.Saidi@ARM.com    cxx_header = "cpu/inteltrace.hh"
4210663SAli.Saidi@ARM.com
4310663SAli.Saidi@ARM.comclass NativeTrace(ExeTracer):
4410663SAli.Saidi@ARM.com    abstract = True
4510663SAli.Saidi@ARM.com    type = 'NativeTrace'
4610663SAli.Saidi@ARM.com    cxx_class = 'Trace::NativeTrace'
4710663SAli.Saidi@ARM.com    cxx_header = 'cpu/nativetrace.hh'
4810663SAli.Saidi@ARM.com
49