aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/thread_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/thread_map.h')
-rw-r--r--tools/perf/util/thread_map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/thread_map.h b/tools/perf/util/thread_map.h
index f15803985435..0a806b99e73c 100644
--- a/tools/perf/util/thread_map.h
+++ b/tools/perf/util/thread_map.h
@@ -23,6 +23,7 @@ struct thread_map *thread_map__new_dummy(void);
23struct thread_map *thread_map__new_by_pid(pid_t pid); 23struct thread_map *thread_map__new_by_pid(pid_t pid);
24struct thread_map *thread_map__new_by_tid(pid_t tid); 24struct thread_map *thread_map__new_by_tid(pid_t tid);
25struct thread_map *thread_map__new_by_uid(uid_t uid); 25struct thread_map *thread_map__new_by_uid(uid_t uid);
26struct thread_map *thread_map__new_all_cpus(void);
26struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid); 27struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid);
27struct thread_map *thread_map__new_event(struct thread_map_event *event); 28struct thread_map *thread_map__new_event(struct thread_map_event *event);
28 29
@@ -30,7 +31,7 @@ struct thread_map *thread_map__get(struct thread_map *map);
30void thread_map__put(struct thread_map *map); 31void thread_map__put(struct thread_map *map);
31 32
32struct thread_map *thread_map__new_str(const char *pid, 33struct thread_map *thread_map__new_str(const char *pid,
33 const char *tid, uid_t uid); 34 const char *tid, uid_t uid, bool per_thread);
34 35
35struct thread_map *thread_map__new_by_tid_str(const char *tid_str); 36struct thread_map *thread_map__new_by_tid_str(const char *tid_str);
36 37