Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 8e10cd74342c7f5ce259cceca36f6eba084f5d58 authored by Linus Torvalds on 27 April 2011, 03:48:50 UTC
Linux 2.6.39-rc5
Tip revision: 8e10cd7
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