SConscript revision 11803
15612Sgblack@eecs.umich.edu# -*- mode:python -*-
25612Sgblack@eecs.umich.edu
35612Sgblack@eecs.umich.edu# Copyright (c) 2015 ARM Limited
45612Sgblack@eecs.umich.edu# All rights reserved.
55612Sgblack@eecs.umich.edu#
65612Sgblack@eecs.umich.edu# The license below extends only to copyright in the software and shall
75612Sgblack@eecs.umich.edu# not be construed as granting a license to any other intellectual
85612Sgblack@eecs.umich.edu# property including but not limited to intellectual property relating
95612Sgblack@eecs.umich.edu# to a hardware implementation of the functionality of the software
105612Sgblack@eecs.umich.edu# licensed hereunder.  You may use the software subject to the license
115612Sgblack@eecs.umich.edu# terms below provided that you ensure that this notice is replicated
125612Sgblack@eecs.umich.edu# unmodified and in its entirety in all distributions of the software,
135612Sgblack@eecs.umich.edu# modified or unmodified, in source code or in binary form.
145612Sgblack@eecs.umich.edu#
155612Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
165612Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
175612Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
185612Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
195612Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
205612Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
215612Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
225612Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
235612Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
245612Sgblack@eecs.umich.edu# this software without specific prior written permission.
255612Sgblack@eecs.umich.edu#
265612Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
275612Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
285612Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
295612Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
305612Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
315612Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
325612Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
335612Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
345612Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
355612Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
365612Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
375612Sgblack@eecs.umich.edu#
385612Sgblack@eecs.umich.edu# Authors: Andreas Sandberg
395612Sgblack@eecs.umich.edu
405612Sgblack@eecs.umich.eduImport('*')
415612Sgblack@eecs.umich.edu
425612Sgblack@eecs.umich.eduSimObject('BaseMemProbe.py')
435612Sgblack@eecs.umich.eduSource('base.cc')
445612Sgblack@eecs.umich.edu
455612Sgblack@eecs.umich.eduSimObject('StackDistProbe.py')
465612Sgblack@eecs.umich.eduSource('stack_dist.cc')
475612Sgblack@eecs.umich.edu
485612Sgblack@eecs.umich.eduSimObject('MemFootprintProbe.py')
495612Sgblack@eecs.umich.eduSource('mem_footprint.cc')
505612Sgblack@eecs.umich.edu
515612Sgblack@eecs.umich.edu# Packet tracing requires protobuf support
525612Sgblack@eecs.umich.eduif env['HAVE_PROTOBUF']:
535612Sgblack@eecs.umich.edu    SimObject('MemTraceProbe.py')
545612Sgblack@eecs.umich.edu    Source('mem_trace.cc')
555612Sgblack@eecs.umich.edu