mirror of
https://github.com/torvalds/linux.git
synced 2024-12-08 20:21:34 +00:00
9ae7d3351a
For helping with debugging. Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-m06n4rp7pwr6dlzwoq89cl69@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
20 lines
465 B
C
20 lines
465 B
C
#ifndef __PERF_THREAD_MAP_H
|
|
#define __PERF_THREAD_MAP_H
|
|
|
|
#include <sys/types.h>
|
|
#include <stdio.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);
|
|
|
|
size_t thread_map__fprintf(struct thread_map *threads, FILE *fp);
|
|
|
|
#endif /* __PERF_THREAD_MAP_H */
|