summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2018-08-03 11:59:55 -0700
committerYabin Cui <yabinc@google.com>2018-08-03 12:05:26 -0700
commit95cfabae8e0d3e67ab80dcb7ab5ce9245174a056 (patch)
tree8aab333a7dad52a2722256c02c13e800387f9e94
parent3dafe0b6356473819ea2b6fca022fc9459eb94cd (diff)
downloadextras-95cfabae8e0d3e67ab80dcb7ab5ce9245174a056.tar.gz
simpleperf: make scripts executable.
To run scripts using `./xxx.py` instead of `python xxx.py`. Bug: none Test: run scripts using `./xxx.py`. Change-Id: I0fab340ca92a6345c01474c0de2ff3a0047177c5
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/annotate.py0
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/app_profiler.py0
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/binary_cache_builder.py0
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/inferno.bat0
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/inferno/inferno.py1
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/pprof_proto_generator.py0
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/report.py0
-rwxr-xr-xsimpleperf/scripts/report_html.py2
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/report_sample.py0
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/run_simpleperf_on_device.py0
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/run_simpleperf_without_usb_connection.py0
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/test.py0
-rwxr-xr-x[-rw-r--r--]simpleperf/scripts/update.py0
13 files changed, 2 insertions, 1 deletions
diff --git a/simpleperf/scripts/annotate.py b/simpleperf/scripts/annotate.py
index 48cae850..48cae850 100644..100755
--- a/simpleperf/scripts/annotate.py
+++ b/simpleperf/scripts/annotate.py
diff --git a/simpleperf/scripts/app_profiler.py b/simpleperf/scripts/app_profiler.py
index b0e7a92f..b0e7a92f 100644..100755
--- a/simpleperf/scripts/app_profiler.py
+++ b/simpleperf/scripts/app_profiler.py
diff --git a/simpleperf/scripts/binary_cache_builder.py b/simpleperf/scripts/binary_cache_builder.py
index b5a53da9..b5a53da9 100644..100755
--- a/simpleperf/scripts/binary_cache_builder.py
+++ b/simpleperf/scripts/binary_cache_builder.py
diff --git a/simpleperf/scripts/inferno.bat b/simpleperf/scripts/inferno.bat
index 5818f986..5818f986 100644..100755
--- a/simpleperf/scripts/inferno.bat
+++ b/simpleperf/scripts/inferno.bat
diff --git a/simpleperf/scripts/inferno/inferno.py b/simpleperf/scripts/inferno/inferno.py
index aefe6b7a..0bc06650 100644..100755
--- a/simpleperf/scripts/inferno/inferno.py
+++ b/simpleperf/scripts/inferno/inferno.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
#
# Copyright (C) 2016 The Android Open Source Project
#
diff --git a/simpleperf/scripts/pprof_proto_generator.py b/simpleperf/scripts/pprof_proto_generator.py
index 19f52573..19f52573 100644..100755
--- a/simpleperf/scripts/pprof_proto_generator.py
+++ b/simpleperf/scripts/pprof_proto_generator.py
diff --git a/simpleperf/scripts/report.py b/simpleperf/scripts/report.py
index 76f56ff1..76f56ff1 100644..100755
--- a/simpleperf/scripts/report.py
+++ b/simpleperf/scripts/report.py
diff --git a/simpleperf/scripts/report_html.py b/simpleperf/scripts/report_html.py
index 511f4712..b81dbf66 100755
--- a/simpleperf/scripts/report_html.py
+++ b/simpleperf/scripts/report_html.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Copyright (C) 2017 The Android Open Source Project
#
diff --git a/simpleperf/scripts/report_sample.py b/simpleperf/scripts/report_sample.py
index bbe90084..bbe90084 100644..100755
--- a/simpleperf/scripts/report_sample.py
+++ b/simpleperf/scripts/report_sample.py
diff --git a/simpleperf/scripts/run_simpleperf_on_device.py b/simpleperf/scripts/run_simpleperf_on_device.py
index 9732d6d7..9732d6d7 100644..100755
--- a/simpleperf/scripts/run_simpleperf_on_device.py
+++ b/simpleperf/scripts/run_simpleperf_on_device.py
diff --git a/simpleperf/scripts/run_simpleperf_without_usb_connection.py b/simpleperf/scripts/run_simpleperf_without_usb_connection.py
index a3524f67..a3524f67 100644..100755
--- a/simpleperf/scripts/run_simpleperf_without_usb_connection.py
+++ b/simpleperf/scripts/run_simpleperf_without_usb_connection.py
diff --git a/simpleperf/scripts/test.py b/simpleperf/scripts/test.py
index 5842baa7..5842baa7 100644..100755
--- a/simpleperf/scripts/test.py
+++ b/simpleperf/scripts/test.py
diff --git a/simpleperf/scripts/update.py b/simpleperf/scripts/update.py
index 65281aaf..65281aaf 100644..100755
--- a/simpleperf/scripts/update.py
+++ b/simpleperf/scripts/update.py