diff options
Diffstat (limited to 'tools/perf/util/machine.c')
-rw-r--r-- | tools/perf/util/machine.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c index b4749d3eed08..0535338f2d7a 100644 --- a/tools/perf/util/machine.c +++ b/tools/perf/util/machine.c | |||
@@ -2609,21 +2609,6 @@ int machines__for_each_thread(struct machines *machines, | |||
2609 | return rc; | 2609 | return rc; |
2610 | } | 2610 | } |
2611 | 2611 | ||
2612 | int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool, | ||
2613 | struct target *target, struct perf_thread_map *threads, | ||
2614 | perf_event__handler_t process, bool data_mmap, | ||
2615 | unsigned int nr_threads_synthesize) | ||
2616 | { | ||
2617 | if (target__has_task(target)) | ||
2618 | return perf_event__synthesize_thread_map(tool, threads, process, machine, data_mmap); | ||
2619 | else if (target__has_cpu(target)) | ||
2620 | return perf_event__synthesize_threads(tool, process, | ||
2621 | machine, data_mmap, | ||
2622 | nr_threads_synthesize); | ||
2623 | /* command specified */ | ||
2624 | return 0; | ||
2625 | } | ||
2626 | |||
2627 | pid_t machine__get_current_tid(struct machine *machine, int cpu) | 2612 | pid_t machine__get_current_tid(struct machine *machine, int cpu) |
2628 | { | 2613 | { |
2629 | int nr_cpus = min(machine->env->nr_cpus_online, MAX_NR_CPUS); | 2614 | int nr_cpus = min(machine->env->nr_cpus_online, MAX_NR_CPUS); |