SConscript revision 11247:76f75db08e09
11689SN/A# -*- mode:python -*- 29444SAndreas.Sandberg@ARM.com 37849SAli.Saidi@ARM.com# Copyright (c) 2013 ARM Limited 47849SAli.Saidi@ARM.com# All rights reserved. 57849SAli.Saidi@ARM.com# 67849SAli.Saidi@ARM.com# The license below extends only to copyright in the software and shall 77849SAli.Saidi@ARM.com# not be construed as granting a license to any other intellectual 87849SAli.Saidi@ARM.com# property including but not limited to intellectual property relating 97849SAli.Saidi@ARM.com# to a hardware implementation of the functionality of the software 107849SAli.Saidi@ARM.com# licensed hereunder. You may use the software subject to the license 117849SAli.Saidi@ARM.com# terms below provided that you ensure that this notice is replicated 127849SAli.Saidi@ARM.com# unmodified and in its entirety in all distributions of the software, 137849SAli.Saidi@ARM.com# modified or unmodified, in source code or in binary form. 142329SN/A# 151689SN/A# Redistribution and use in source and binary forms, with or without 161689SN/A# modification, are permitted provided that the following conditions are 171689SN/A# met: redistributions of source code must retain the above copyright 181689SN/A# notice, this list of conditions and the following disclaimer; 191689SN/A# redistributions in binary form must reproduce the above copyright 201689SN/A# notice, this list of conditions and the following disclaimer in the 211689SN/A# documentation and/or other materials provided with the distribution; 221689SN/A# neither the name of the copyright holders nor the names of its 231689SN/A# contributors may be used to endorse or promote products derived from 241689SN/A# this software without specific prior written permission. 251689SN/A# 261689SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 271689SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 281689SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 291689SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 301689SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 311689SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 321689SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 331689SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 341689SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 351689SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 361689SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 371689SN/A# 381689SN/A# Authors: Matt Horsnell 392665Ssaidi@eecs.umich.edu 402665Ssaidi@eecs.umich.eduImport('*') 412756Sksewell@umich.edu 421689SN/Aif 'O3CPU' in env['CPU_MODELS']: 431689SN/A SimObject('SimpleTrace.py') 442292SN/A Source('simple_trace.cc') 452292SN/A DebugFlag('SimpleTrace') 461060SN/A 479020Sgblack@eecs.umich.edu if env['HAVE_PROTOBUF']: 482669Sktlim@umich.edu SimObject('ElasticTrace.py') 491461SN/A Source('elastic_trace.cc') 506658Snate@binkert.org DebugFlag('ElasticTrace') 511060SN/A