SConscript revision 12275
12086SN/A# -*- mode:python -*-
22086SN/A
32086SN/A# Copyright (c) 2015 ARM Limited
42086SN/A# All rights reserved.
52086SN/A#
62086SN/A# The license below extends only to copyright in the software and shall
72086SN/A# not be construed as granting a license to any other intellectual
82086SN/A# property including but not limited to intellectual property relating
92086SN/A# to a hardware implementation of the functionality of the software
102086SN/A# licensed hereunder.  You may use the software subject to the license
112086SN/A# terms below provided that you ensure that this notice is replicated
122086SN/A# unmodified and in its entirety in all distributions of the software,
132086SN/A# modified or unmodified, in source code or in binary form.
142086SN/A#
152086SN/A# Redistribution and use in source and binary forms, with or without
162086SN/A# modification, are permitted provided that the following conditions are
172086SN/A# met: redistributions of source code must retain the above copyright
182086SN/A# notice, this list of conditions and the following disclaimer;
192086SN/A# redistributions in binary form must reproduce the above copyright
202086SN/A# notice, this list of conditions and the following disclaimer in the
212086SN/A# documentation and/or other materials provided with the distribution;
222086SN/A# neither the name of the copyright holders nor the names of its
232086SN/A# contributors may be used to endorse or promote products derived from
242086SN/A# this software without specific prior written permission.
252086SN/A#
262086SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
272086SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
282665Ssaidi@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
292665Ssaidi@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
302665Ssaidi@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
312686Sksewell@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
322086SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
334202Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
342086SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
354202Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
364997Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
374202Sbinkertn@umich.edu#
384835Sgblack@eecs.umich.edu# Authors: Andreas Sandberg
394661Sksewell@umich.edu
404835Sgblack@eecs.umich.eduImport('*')
414997Sgblack@eecs.umich.edu
424202Sbinkertn@umich.eduSimObject('BaseMemProbe.py')
434997Sgblack@eecs.umich.eduSource('base.cc')
444997Sgblack@eecs.umich.edu
452086SN/ASimObject('StackDistProbe.py')
464202Sbinkertn@umich.eduSource('stack_dist.cc')
474202Sbinkertn@umich.edu
484202Sbinkertn@umich.eduSimObject('MemFootprintProbe.py')
494202Sbinkertn@umich.eduSource('mem_footprint.cc')
504202Sbinkertn@umich.edu
512086SN/A# Packet tracing requires protobuf support
524202Sbinkertn@umich.eduif env['HAVE_PROTOBUF']:
534202Sbinkertn@umich.edu    SimObject('MemTraceProbe.py')
542086SN/A    Source('mem_trace.cc')
554202Sbinkertn@umich.edu