summaryrefslogtreecommitdiffstats
path: root/tools/deep_memory_profiler/dmprof
blob: a43f9f663af06b898c6a14bdae989077eba28104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Re-direct the arguments to dmprof.py.

BASEDIR=`dirname $0`
ARGV="$@"

PYTHONPATH=$BASEDIR/../python/google python \
    "$BASEDIR/dmprof.py" $ARGV