| Index: base/linux_util.h
|
| diff --git a/base/linux_util.h b/base/linux_util.h
|
| index 83523df831dbff1a15ff5dd92e4057ca6fe6c57e..272e06b7d8cb583683fe64651697f621de2daddc 100644
|
| --- a/base/linux_util.h
|
| +++ b/base/linux_util.h
|
| @@ -33,6 +33,12 @@ BASE_EXPORT pid_t FindThreadIDWithSyscall(pid_t pid,
|
| const std::string& expected_data,
|
| bool* syscall_supported);
|
|
|
| +// For a given process |pid|, look through all its threads and find the first
|
| +// thread with /proc/[pid]/task/[thread_id]/status where NSpid matches |ns_tid|.
|
| +// Returns the thread id or -1 on error. If |ns_pid_supported| is
|
| +// set to false the kernel does not support NSpid in procfs.
|
| +BASE_EXPORT pid_t FindThreadID(pid_t pid, pid_t ns_tid, bool* ns_pid_supported);
|
| +
|
| } // namespace base
|
|
|
| #endif // BASE_LINUX_UTIL_H_
|
|
|