1#ifndef __PERF_THREAD_MAP_H 2#define __PERF_THREAD_MAP_H 3 4#include <sys/types.h> 5 6struct thread_map { 7 int nr; 8 int map[]; 9}; 10 11struct thread_map *thread_map__new_by_pid(pid_t pid); 12struct thread_map *thread_map__new_by_tid(pid_t tid); 13struct thread_map *thread_map__new(pid_t pid, pid_t tid); 14void thread_map__delete(struct thread_map *threads); 15#endif /* __PERF_THREAD_MAP_H */ 16