Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: fcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c authored by Linus Torvalds on 22 August 2011, 18:42:53 UTC
Linux 3.1-rc3
Tip revision: fcb8ce5
thread_map.h
#ifndef __PERF_THREAD_MAP_H
#define __PERF_THREAD_MAP_H

#include <sys/types.h>

struct thread_map {
	int nr;
	int map[];
};

struct thread_map *thread_map__new_by_pid(pid_t pid);
struct thread_map *thread_map__new_by_tid(pid_t tid);
struct thread_map *thread_map__new(pid_t pid, pid_t tid);
void thread_map__delete(struct thread_map *threads);
#endif	/* __PERF_THREAD_MAP_H */
back to top