summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-find-task-pid.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-03-19 12:47:30 -0400
committerDave Brolley <brolley@redhat.com>2009-03-19 12:47:30 -0400
commit1ca3466b0426566a6c6ba03251d8cca3d111f170 (patch)
tree92f6c41ebb29dc4210551bfea7ebc796d7472e2d /runtime/autoconf-find-task-pid.c
parent2855f6351e26f51953af11b17c4499df4d3d3441 (diff)
parent59b30bda24855bc46608a126efad8e150196721c (diff)
downloadsystemtap-steved-1ca3466b0426566a6c6ba03251d8cca3d111f170.tar.gz
systemtap-steved-1ca3466b0426566a6c6ba03251d8cca3d111f170.tar.xz
systemtap-steved-1ca3466b0426566a6c6ba03251d8cca3d111f170.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/autoconf-find-task-pid.c')
-rw-r--r--runtime/autoconf-find-task-pid.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/autoconf-find-task-pid.c b/runtime/autoconf-find-task-pid.c
new file mode 100644
index 00000000..549d5ac3
--- /dev/null
+++ b/runtime/autoconf-find-task-pid.c
@@ -0,0 +1,6 @@
+#include <linux/sched.h>
+
+void foo (pid_t k) {
+ struct task_struct *tsk = find_task_by_pid (k);
+ (void) tsk;
+}