mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-10 11:30:08 +01:00
To untangle it from struct thread handling, that is tied to symbols, etc. Right now in the python bindings I'm working on I need just a subset of the util/ files, untangling it allows me to do that. Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Tom Zanussi <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
16 lines
378 B
C
16 lines
378 B
C
#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 */
|