60 lines
1.9 KiB
Diff
60 lines
1.9 KiB
Diff
From 827863d17c0a43b869e181bf8eb3e3aedf0aa615 Mon Sep 17 00:00:00 2001
|
|
From: Davide Cavalca <dcavalca@fb.com>
|
|
Date: Mon, 5 Apr 2021 14:35:39 -0700
|
|
Subject: [PATCH] examples: add missing shebangs
|
|
|
|
Signed-off-by: Davide Cavalca <dcavalca@fb.com>
|
|
---
|
|
examples/linux/cgroup.py | 1 +
|
|
examples/linux/fs_inodes.py | 1 +
|
|
examples/linux/lsmod.py | 1 +
|
|
examples/linux/ps.py | 1 +
|
|
examples/linux/tcp_sock.py | 1 +
|
|
5 files changed, 5 insertions(+)
|
|
|
|
diff --git a/examples/linux/cgroup.py b/examples/linux/cgroup.py
|
|
index eab17d4f..e215136a 100755
|
|
--- a/examples/linux/cgroup.py
|
|
+++ b/examples/linux/cgroup.py
|
|
@@ -1,3 +1,4 @@
|
|
+#!/usr/bin/env drgn
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
diff --git a/examples/linux/fs_inodes.py b/examples/linux/fs_inodes.py
|
|
index 6bc32de2..856d13f7 100755
|
|
--- a/examples/linux/fs_inodes.py
|
|
+++ b/examples/linux/fs_inodes.py
|
|
@@ -1,3 +1,4 @@
|
|
+#!/usr/bin/env drgn
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
diff --git a/examples/linux/lsmod.py b/examples/linux/lsmod.py
|
|
index a60917eb..1585e2c2 100755
|
|
--- a/examples/linux/lsmod.py
|
|
+++ b/examples/linux/lsmod.py
|
|
@@ -1,3 +1,4 @@
|
|
+#!/usr/bin/env drgn
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
diff --git a/examples/linux/ps.py b/examples/linux/ps.py
|
|
index 3f1b8d23..0eda3be2 100755
|
|
--- a/examples/linux/ps.py
|
|
+++ b/examples/linux/ps.py
|
|
@@ -1,3 +1,4 @@
|
|
+#!/usr/bin/env drgn
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
diff --git a/examples/linux/tcp_sock.py b/examples/linux/tcp_sock.py
|
|
index 1df33cf6..ad628974 100755
|
|
--- a/examples/linux/tcp_sock.py
|
|
+++ b/examples/linux/tcp_sock.py
|
|
@@ -1,3 +1,4 @@
|
|
+#!/usr/bin/env drgn
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|