summaryrefslogtreecommitdiffstats
path: root/tools/memory_watcher
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 01:25:40 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 01:25:40 +0000
commit279d79f15246126b9fc7f9a8c8036d94cd2b9b3b (patch)
tree01b962ce3313ebce9697b6976f065d8685737628 /tools/memory_watcher
parentbe9cb978c720f69353ff93238f7b6a63f5ee8667 (diff)
downloadchromium_src-279d79f15246126b9fc7f9a8c8036d94cd2b9b3b.zip
chromium_src-279d79f15246126b9fc7f9a8c8036d94cd2b9b3b.tar.gz
chromium_src-279d79f15246126b9fc7f9a8c8036d94cd2b9b3b.tar.bz2
Set svn:executable bit on scripts that are executable.
Add a PRESUBMIT.py to run checkperms.py when it is modified and to run pylint on it. R=thestig@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/10134019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133835 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/memory_watcher')
-rwxr-xr-x[-rw-r--r--]tools/memory_watcher/scripts/finditem.pl3
-rwxr-xr-x[-rw-r--r--]tools/memory_watcher/scripts/memprof.pl4
-rwxr-xr-x[-rw-r--r--]tools/memory_watcher/scripts/memtrace.pl4
-rwxr-xr-x[-rw-r--r--]tools/memory_watcher/scripts/summary.pl3
4 files changed, 12 insertions, 2 deletions
diff --git a/tools/memory_watcher/scripts/finditem.pl b/tools/memory_watcher/scripts/finditem.pl
index e1171ef..4962fa3 100644..100755
--- a/tools/memory_watcher/scripts/finditem.pl
+++ b/tools/memory_watcher/scripts/finditem.pl
@@ -1,4 +1,7 @@
#!/usr/bin/perl
+# 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.
sub process_raw($$) {
my $file = shift;
diff --git a/tools/memory_watcher/scripts/memprof.pl b/tools/memory_watcher/scripts/memprof.pl
index 571336f..58ad8ab 100644..100755
--- a/tools/memory_watcher/scripts/memprof.pl
+++ b/tools/memory_watcher/scripts/memprof.pl
@@ -1,5 +1,7 @@
#!/usr/bin/perl
-
+# 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.
#
# Given a memwatcher logfile, group memory allocations by callstack.
#
diff --git a/tools/memory_watcher/scripts/memtrace.pl b/tools/memory_watcher/scripts/memtrace.pl
index 0d36efa..66e7528 100644..100755
--- a/tools/memory_watcher/scripts/memtrace.pl
+++ b/tools/memory_watcher/scripts/memtrace.pl
@@ -1,5 +1,7 @@
#!/usr/bin/perl
-
+# 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.
#
# Blame callstacks for each memory allocation.
# Similar to memprof.pl, will also try to filter out unuseful stacks.
diff --git a/tools/memory_watcher/scripts/summary.pl b/tools/memory_watcher/scripts/summary.pl
index aca4e0d..4ba10c1 100644..100755
--- a/tools/memory_watcher/scripts/summary.pl
+++ b/tools/memory_watcher/scripts/summary.pl
@@ -1,4 +1,7 @@
#!/usr/bin/perl
+# 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.
#
# Read a memtrace logfile from stdin and group memory allocations by logical
# code component. The code component is guessed from the callstack, and