aboutsummaryrefslogtreecommitdiff
path: root/src/tools/perf/util/thread_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/perf/util/thread_map.h')
-rw-r--r--src/tools/perf/util/thread_map.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/tools/perf/util/thread_map.h b/src/tools/perf/util/thread_map.h
deleted file mode 100644
index 0cd8b31..0000000
--- a/src/tools/perf/util/thread_map.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef __PERF_THREAD_MAP_H
-#define __PERF_THREAD_MAP_H
-
-#include <sys/types.h>
-#include <stdio.h>
-
-struct thread_map {
- int nr;
- pid_t 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_by_uid(uid_t uid);
-struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid);
-
-struct thread_map *thread_map__new_str(const char *pid,
- const char *tid, uid_t uid);
-
-void thread_map__delete(struct thread_map *threads);
-
-size_t thread_map__fprintf(struct thread_map *threads, FILE *fp);
-
-static inline int thread_map__nr(struct thread_map *threads)
-{
- return threads ? threads->nr : 1;
-}
-
-#endif /* __PERF_THREAD_MAP_H */