net caif: Register properly as a pernet subsystem.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / tools / perf / util / thread_map.h
blob3cb907311409fb6e62c3ffb8c147607e2c055e69
1 #ifndef __PERF_THREAD_MAP_H
2 #define __PERF_THREAD_MAP_H
4 #include <sys/types.h>
6 struct thread_map {
7 int nr;
8 int map[];
9 };
11 struct thread_map *thread_map__new_by_pid(pid_t pid);
12 struct thread_map *thread_map__new_by_tid(pid_t tid);
13 struct thread_map *thread_map__new(pid_t pid, pid_t tid);
14 void thread_map__delete(struct thread_map *threads);
15 #endif /* __PERF_THREAD_MAP_H */