SConscript revision 11803:4f04a6593119
16019SN/A# -*- mode:python -*- 26019SN/A 37134Sgblack@eecs.umich.edu# Copyright (c) 2015 ARM Limited 47134Sgblack@eecs.umich.edu# All rights reserved. 57134Sgblack@eecs.umich.edu# 67134Sgblack@eecs.umich.edu# The license below extends only to copyright in the software and shall 77134Sgblack@eecs.umich.edu# not be construed as granting a license to any other intellectual 87134Sgblack@eecs.umich.edu# property including but not limited to intellectual property relating 97134Sgblack@eecs.umich.edu# to a hardware implementation of the functionality of the software 107134Sgblack@eecs.umich.edu# licensed hereunder. You may use the software subject to the license 117134Sgblack@eecs.umich.edu# terms below provided that you ensure that this notice is replicated 127134Sgblack@eecs.umich.edu# unmodified and in its entirety in all distributions of the software, 137134Sgblack@eecs.umich.edu# modified or unmodified, in source code or in binary form. 147134Sgblack@eecs.umich.edu# 156019SN/A# Redistribution and use in source and binary forms, with or without 166019SN/A# modification, are permitted provided that the following conditions are 176019SN/A# met: redistributions of source code must retain the above copyright 186019SN/A# notice, this list of conditions and the following disclaimer; 196019SN/A# redistributions in binary form must reproduce the above copyright 206019SN/A# notice, this list of conditions and the following disclaimer in the 216019SN/A# documentation and/or other materials provided with the distribution; 226019SN/A# neither the name of the copyright holders nor the names of its 236019SN/A# contributors may be used to endorse or promote products derived from 246019SN/A# this software without specific prior written permission. 256019SN/A# 266019SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 276019SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 286019SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 296019SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 306019SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 316019SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 326019SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 336019SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 346019SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 356019SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 366019SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 376019SN/A# 386019SN/A# Authors: Andreas Sandberg 396019SN/A 406019SN/AImport('*') 416019SN/A 426308SN/ASimObject('BaseMemProbe.py') 436308SN/ASource('base.cc') 446309SN/A 456309SN/ASimObject('StackDistProbe.py') 466309SN/ASource('stack_dist.cc') 476309SN/A 486309SN/ASimObject('MemFootprintProbe.py') 497134Sgblack@eecs.umich.eduSource('mem_footprint.cc') 507296Sgblack@eecs.umich.edu 516309SN/A# Packet tracing requires protobuf support 526309SN/Aif env['HAVE_PROTOBUF']: 537296Sgblack@eecs.umich.edu SimObject('MemTraceProbe.py') 547134Sgblack@eecs.umich.edu Source('mem_trace.cc') 556309SN/A