diff options
author | Tony Jones <[email protected]> | 2019-01-23 16:52:28 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-01-25 15:12:10 +0100 |
commit | a38352de4495a6a4662609a560b2db4b03d6b352 (patch) | |
tree | 1992620019291a23b6105b91e8e35654803407a9 /tools/perf/scripts/python/sched-migration.py | |
parent | d72eadbc1d2866fc047edd4535ffb0298fe240be (diff) |
perf script python: Remove explicit shebang from Python scripts
The scripts in scripts/python are intended to be run from 'perf script'
and the Python version used is dictated by how perf was built (PYTHON=).
Also most distros follow pep-0394 which recommends that /usr/bin/python
refer to Python2 and so may not exist on the system (if PYTHON=python3).
- Remove the explicit shebang
- Install the scripts as mode 644
Signed-off-by: Tony Jones <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Cc: Seeteena Thoufeek <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
-rw-r--r-- | tools/perf/scripts/python/sched-migration.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/scripts/python/sched-migration.py b/tools/perf/scripts/python/sched-migration.py index 3473e7f66081..3984bf51f3c5 100644 --- a/tools/perf/scripts/python/sched-migration.py +++ b/tools/perf/scripts/python/sched-migration.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Cpu task migration overview toy # # Copyright (C) 2010 Frederic Weisbecker <[email protected]> |