forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: task_profiler: Be explicit about python
Update these scripts to explicitly call out python version 2. Some distributions have started making /usr/bin/python version 3, and other distros have expressed a desire to do the same. Also use the #!/usr/bin/env python2 construct instead of an explicit path so that the user can more easily use their own python install by just placing it earlier in the path Jira: ZEP-1548 Change-Id: I36dccc652353ba8bd58c483dba3ce61d3643de00 Signed-off-by: David Brown <[email protected]>
- Loading branch information
Showing
6 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
samples/legacy/task_profiler/profiler/scripts/contextswitch_parse.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python | ||
#!/usr/bin/env python2 | ||
|
||
# | ||
# Copyright (c) 2016 Intel Corporation. | ||
|
2 changes: 1 addition & 1 deletion
2
samples/legacy/task_profiler/profiler/scripts/contextswitch_run.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python | ||
#!/usr/bin/env python2 | ||
|
||
# | ||
# Copyright (c) 2016 Intel Corporation. | ||
|
2 changes: 1 addition & 1 deletion
2
samples/legacy/task_profiler/profiler/scripts/contextswitch_timeslice.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python | ||
#!/usr/bin/env python2 | ||
|
||
# | ||
# Copyright (c) 2016 Intel Corporation. | ||
|
2 changes: 1 addition & 1 deletion
2
samples/legacy/task_profiler/profiler/scripts/contextswitch_totals.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python | ||
#!/usr/bin/env python2 | ||
|
||
# | ||
# Copyright (c) 2016 Intel Corporation. | ||
|
2 changes: 1 addition & 1 deletion
2
samples/legacy/task_profiler/profiler/scripts/profile_kernel.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python | ||
#!/usr/bin/env python2 | ||
|
||
# | ||
# Copyright (c) 2016 Intel Corporation. | ||
|
2 changes: 1 addition & 1 deletion
2
samples/legacy/task_profiler/profiler/scripts/profile_monitor.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python | ||
#!/usr/bin/env python2 | ||
|
||
# | ||
# Copyright (c) 2016 Intel Corporation. | ||
|