SConscript revision 11185
12567SN/A# -*- mode:python -*- 211574SCurtis.Dunham@arm.com 37650SAli.Saidi@ARM.com# Copyright (c) 2015 ARM Limited 47650SAli.Saidi@ARM.com# All rights reserved. 57650SAli.Saidi@ARM.com# 67650SAli.Saidi@ARM.com# The license below extends only to copyright in the software and shall 77650SAli.Saidi@ARM.com# not be construed as granting a license to any other intellectual 87650SAli.Saidi@ARM.com# property including but not limited to intellectual property relating 97650SAli.Saidi@ARM.com# to a hardware implementation of the functionality of the software 107650SAli.Saidi@ARM.com# licensed hereunder. You may use the software subject to the license 117650SAli.Saidi@ARM.com# terms below provided that you ensure that this notice is replicated 127650SAli.Saidi@ARM.com# unmodified and in its entirety in all distributions of the software, 137650SAli.Saidi@ARM.com# modified or unmodified, in source code or in binary form. 142567SN/A# 152567SN/A# Redistribution and use in source and binary forms, with or without 162567SN/A# modification, are permitted provided that the following conditions are 172567SN/A# met: redistributions of source code must retain the above copyright 182567SN/A# notice, this list of conditions and the following disclaimer; 192567SN/A# redistributions in binary form must reproduce the above copyright 202567SN/A# notice, this list of conditions and the following disclaimer in the 212567SN/A# documentation and/or other materials provided with the distribution; 222567SN/A# neither the name of the copyright holders nor the names of its 232567SN/A# contributors may be used to endorse or promote products derived from 242567SN/A# this software without specific prior written permission. 252567SN/A# 262567SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 272567SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 282567SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 292567SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 302567SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 312567SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 322567SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 332567SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 342567SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 352567SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 362567SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 372567SN/A# 382567SN/A# Authors: Andreas Sandberg 392665SN/A 402665SN/AImport('*') 412567SN/A 422567SN/ASimObject('BaseMemProbe.py') 436757SAli.Saidi@ARM.comSource('base.cc') 446757SAli.Saidi@ARM.com 452567SN/ASimObject('StackDistProbe.py') 4611234Sandreas.sandberg@arm.comSource('stack_dist.cc') 472567SN/A 482567SN/A# Packet tracing requires protobuf support 492567SN/Aif env['HAVE_PROTOBUF']: 508229Snate@binkert.org SimObject('MemTraceProbe.py') 516757SAli.Saidi@ARM.com Source('mem_trace.cc') 5210810Sbr@bsdpad.com