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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/perf/util/machine.h b/tools/perf/util/machine.h
index b1cd516f2025..c6a299ea506c 100644
--- a/tools/perf/util/machine.h
+++ b/tools/perf/util/machine.h
@@ -257,15 +257,18 @@ int machines__for_each_thread(struct machines *machines,
257int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool, 257int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool,
258 struct target *target, struct thread_map *threads, 258 struct target *target, struct thread_map *threads,
259 perf_event__handler_t process, bool data_mmap, 259 perf_event__handler_t process, bool data_mmap,
260 unsigned int proc_map_timeout); 260 unsigned int proc_map_timeout,
261 unsigned int nr_threads_synthesize);
261static inline 262static inline
262int machine__synthesize_threads(struct machine *machine, struct target *target, 263int machine__synthesize_threads(struct machine *machine, struct target *target,
263 struct thread_map *threads, bool data_mmap, 264 struct thread_map *threads, bool data_mmap,
264 unsigned int proc_map_timeout) 265 unsigned int proc_map_timeout,
266 unsigned int nr_threads_synthesize)
265{ 267{
266 return __machine__synthesize_threads(machine, NULL, target, threads, 268 return __machine__synthesize_threads(machine, NULL, target, threads,
267 perf_event__process, data_mmap, 269 perf_event__process, data_mmap,
268 proc_map_timeout); 270 proc_map_timeout,
271 nr_threads_synthesize);
269} 272}
270 273
271pid_t machine__get_current_tid(struct machine *machine, int cpu); 274pid_t machine__get_current_tid(struct machine *machine, int cpu);