Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 0ce790e7d736cedc563e1fb4e998babf5a4dbc3d authored by Linus Torvalds on 29 March 2011, 19:09:47 UTC
Linux 2.6.39-rc1
Tip revision: 0ce790e
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