aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/machine.h')
-rw-r--r--tools/perf/util/machine.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/perf/util/machine.h b/tools/perf/util/machine.h
index ffd391a925a6..18e13c0ccd6a 100644
--- a/tools/perf/util/machine.h
+++ b/tools/perf/util/machine.h
@@ -6,7 +6,6 @@
6#include <linux/rbtree.h> 6#include <linux/rbtree.h>
7#include "map_groups.h" 7#include "map_groups.h"
8#include "dsos.h" 8#include "dsos.h"
9#include "event.h"
10#include "rwsem.h" 9#include "rwsem.h"
11 10
12struct addr_location; 11struct addr_location;
@@ -252,20 +251,6 @@ int machines__for_each_thread(struct machines *machines,
252 int (*fn)(struct thread *thread, void *p), 251 int (*fn)(struct thread *thread, void *p),
253 void *priv); 252 void *priv);
254 253
255int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool,
256 struct target *target, struct perf_thread_map *threads,
257 perf_event__handler_t process, bool data_mmap,
258 unsigned int nr_threads_synthesize);
259static inline
260int machine__synthesize_threads(struct machine *machine, struct target *target,
261 struct perf_thread_map *threads, bool data_mmap,
262 unsigned int nr_threads_synthesize)
263{
264 return __machine__synthesize_threads(machine, NULL, target, threads,
265 perf_event__process, data_mmap,
266 nr_threads_synthesize);
267}
268
269pid_t machine__get_current_tid(struct machine *machine, int cpu); 254pid_t machine__get_current_tid(struct machine *machine, int cpu);
270int machine__set_current_tid(struct machine *machine, int cpu, pid_t pid, 255int machine__set_current_tid(struct machine *machine, int cpu, pid_t pid,
271 pid_t tid); 256 pid_t tid);