X86NativeTrace.py revision 4776
111507SCurtis.Dunham@arm.com# Copyright (c) 2007 The Regents of The University of Michigan
211507SCurtis.Dunham@arm.com# All rights reserved.
311960Sgabeblack@google.com#
411960Sgabeblack@google.com# Redistribution and use in source and binary forms, with or without
511960Sgabeblack@google.com# modification, are permitted provided that the following conditions are
611960Sgabeblack@google.com# met: redistributions of source code must retain the above copyright
711960Sgabeblack@google.com# notice, this list of conditions and the following disclaimer;
811960Sgabeblack@google.com# redistributions in binary form must reproduce the above copyright
911960Sgabeblack@google.com# notice, this list of conditions and the following disclaimer in the
1011960Sgabeblack@google.com# documentation and/or other materials provided with the distribution;
1111960Sgabeblack@google.com# neither the name of the copyright holders nor the names of its
1211960Sgabeblack@google.com# contributors may be used to endorse or promote products derived from
1311960Sgabeblack@google.com# this software without specific prior written permission.
1411960Sgabeblack@google.com#
1511960Sgabeblack@google.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1611960Sgabeblack@google.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1711960Sgabeblack@google.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1811960Sgabeblack@google.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1911960Sgabeblack@google.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2011960Sgabeblack@google.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2111960Sgabeblack@google.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2211960Sgabeblack@google.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2311960Sgabeblack@google.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2411960Sgabeblack@google.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2511960Sgabeblack@google.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2611960Sgabeblack@google.com#
2711960Sgabeblack@google.com# Authors: Gabe Black
2811960Sgabeblack@google.com
2911960Sgabeblack@google.comfrom m5.SimObject import SimObject
3011960Sgabeblack@google.comfrom m5.params import *
3111960Sgabeblack@google.comfrom InstTracer import InstTracer
3211960Sgabeblack@google.com
3311960Sgabeblack@google.comclass NativeTrace(InstTracer):
3411960Sgabeblack@google.com    type = 'NativeTrace'
3511960Sgabeblack@google.com    cxx_namespace = 'Trace'
3611960Sgabeblack@google.com    cxx_class = 'NativeTrace'
3711960Sgabeblack@google.com