OK, I dont know much about all the various versions and dist etc....
I solved this problem for myself by replacing the call for
"find_task_by_pid_type(PIDTYPE_PID, pid)" to pid_task(find_pid_ns(pid, &init_pid_ns), PIDTYPE_PID)
Actually checking the "linux/sched.h" file, i found that find_task_by_pid_type (etc are defined here) I see that they are defined "static" which tells me that things might have changed between kernel versions and hence all the issues....
OK, I dont know much about all the various versions and dist etc....
I solved this problem for myself by replacing the call for by_pid_ type(PIDTYPE_ PID, pid)" to pid_task( find_pid_ ns(pid, &init_pid_ns), PIDTYPE_PID)
"find_task_
Actually checking the "linux/sched.h" file, i found that find_task_ by_pid_ type (etc are defined here) I see that they are defined "static" which tells me that things might have changed between kernel versions and hence all the issues....
But I might be totally off the charts here
-Amber