Home
last modified time | relevance | path

Searched refs:target_cpu (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/include/trace/events/
Deas_sched.h5 TP_PROTO(struct task_struct *task, int cpu, int target_cpu,
9 TP_ARGS(task, cpu, target_cpu, isolated, idle, task_util, cpu_util, cpu_cap),
16 __field(int, target_cpu)
29 __entry->target_cpu = target_cpu;
39 __entry->cpu, __entry->target_cpu, __entry->isolated,
47 unsigned long tutil, int prev_cpu, int target_cpu),
49 TP_ARGS(task, lowest_mask, tutil, prev_cpu, target_cpu),
58 __field(int, target_cpu)
68 __entry->target_cpu = target_cpu;
74 __entry->prev_cpu, __entry->target_cpu)
Dsched.h73 __field( int, target_cpu )
81 __entry->target_cpu = task_cpu(p);
86 __entry->target_cpu)
/kernel/linux/build/
DBUILD.gn24 if (target_cpu == "arm") {
26 } else if (target_cpu == "arm64") {
28 } else if (target_cpu == "x86_64") {
39 …command = "./kernel_module_build.sh ${outdir} ${build_type} ${target_cpu} ${product_path_rebase} $…
68 target_cpu,
/kernel/linux/linux-5.10/tools/perf/scripts/perl/
Dwakeup-latency.pl55 $comm, $pid, $prio, $success, $target_cpu) = @_;
57 $last_wakeup{$target_cpu}{ts} = nsecs($common_secs, $common_nsecs);
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsun4d_irq.c487 int target_cpu; in sun4d_init_sbi_irq() local
489 target_cpu = boot_cpu_id; in sun4d_init_sbi_irq()
495 set_sbi_tid(devid, target_cpu << 3); in sun4d_init_sbi_irq()
496 board_to_cpu[board] = target_cpu; in sun4d_init_sbi_irq()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dsched-migration.py355 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument
359 ts.wake_up(self.timeslices, pid, target_cpu, fork)
433 target_cpu): argument
436 parser.wake_up(headers, comm, pid, success, target_cpu, 1)
441 target_cpu): argument
444 parser.wake_up(headers, comm, pid, success, target_cpu, 0)
/kernel/linux/linux-5.10/drivers/hv/
Dchannel_mgmt.c432 hv_clear_alloced_cpu(channel->target_cpu); in hv_process_channel_removal()
682 u32 target_cpu; in init_vp_index() local
696 channel->target_cpu = VMBUS_CONNECT_CPU; in init_vp_index()
725 target_cpu = cpumask_first(available_mask); in init_vp_index()
726 cpumask_set_cpu(target_cpu, alloced_mask); in init_vp_index()
728 channel->target_cpu = target_cpu; in init_vp_index()
Dvmbus_drv.c237 return sprintf(buf, "%d\n", cpu_to_node(hv_dev->channel->target_cpu)); in numa_node_show()
527 channel->offermsg.child_relid, channel->target_cpu); in channel_vp_mapping_show()
538 cur_sc->target_cpu); in channel_vp_mapping_show()
1707 return sprintf(buf, "%u\n", channel->target_cpu); in target_cpu_show()
1712 u32 target_cpu, origin_cpu; in target_cpu_store() local
1718 if (sscanf(buf, "%uu", &target_cpu) != 1) in target_cpu_store()
1722 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()
1728 if (!cpu_online(target_cpu)) { in target_cpu_store()
1766 origin_cpu = channel->target_cpu; in target_cpu_store()
1767 if (target_cpu == origin_cpu) in target_cpu_store()
[all …]
Dhv.c265 if (channel->target_cpu == cpu) { in hv_synic_cleanup()
270 if (sc->target_cpu == cpu) { in hv_synic_cleanup()
Dhyperv_vmbus.h418 if (channel->target_cpu == cpu) in hv_is_alloced_cpu()
421 if (sc->target_cpu == cpu) in hv_is_alloced_cpu()
Dchannel.c175 page = alloc_pages_node(cpu_to_node(newchannel->target_cpu), in vmbus_alloc_ring()
574 open_msg->target_vp = hv_cpu_number_to_vp_number(newchannel->target_cpu); in __vmbus_open()
/kernel/linux/linux-5.10/tools/perf/bench/
Dnuma.c269 static cpu_set_t bind_to_cpu(int target_cpu) in bind_to_cpu() argument
279 if (target_cpu == -1) { in bind_to_cpu()
285 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus); in bind_to_cpu()
286 CPU_SET(target_cpu, &mask); in bind_to_cpu()
1229 int target_cpu; in worker_thread() local
1241 target_cpu = g->p.nr_cpus-1; in worker_thread()
1243 target_cpu = 0; in worker_thread()
1245 orig_mask = bind_to_cpu(target_cpu); in worker_thread()
1249 printf(" (injecting perturbalance, moved to CPU#%d)\n", target_cpu); in worker_thread()
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpci-xgene-msi.c175 int target_cpu = cpumask_first(mask); in xgene_msi_set_affinity() local
179 if (curr_cpu == target_cpu) in xgene_msi_set_affinity()
183 irqdata->hwirq = hwirq_to_canonical_hwirq(irqdata->hwirq) + target_cpu; in xgene_msi_set_affinity()
Dpcie-iproc-msi.c210 int target_cpu = cpumask_first(mask); in iproc_msi_irq_set_affinity() local
215 if (curr_cpu == target_cpu) in iproc_msi_irq_set_affinity()
219 data->hwirq = hwirq_to_canonical_hwirq(msi, data->hwirq) + target_cpu; in iproc_msi_irq_set_affinity()
223 irq_data_update_effective_affinity(data, cpumask_of(target_cpu)); in iproc_msi_irq_set_affinity()
/kernel/linux/linux-5.10/drivers/scsi/
Dstorvsc_drv.c659 if (device->channel != channel && device->channel->target_cpu == old) { in storvsc_change_target_cpu()
667 if (cur_chn->target_cpu == old) { in storvsc_change_target_cpu()
722 stor_device->stor_chns[new_sc->target_cpu] = new_sc; in handle_sc_creation()
723 cpumask_set_cpu(new_sc->target_cpu, &stor_device->alloced_cpus); in handle_sc_creation()
951 stor_device->stor_chns[device->channel->target_cpu] = device->channel; in storvsc_channel_init()
952 cpumask_set_cpu(device->channel->target_cpu, in storvsc_channel_init()
1400 if (outgoing_channel->target_cpu == q_num) { in storvsc_do_io()
/kernel/linux/linux-5.10/kernel/
Dpadata.c65 int cpu, target_cpu; in padata_index_to_cpu() local
67 target_cpu = cpumask_first(pd->cpumask.pcpu); in padata_index_to_cpu()
69 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu()
71 return target_cpu; in padata_index_to_cpu()
/kernel/linux/linux-5.10/kernel/sched/
Drt.c1735 int target_cpu = -1; in find_cas_cpu() local
1836 trace_sched_find_cas_cpu_each(task, cpu, target_cpu, in find_cas_cpu()
1848 if (target_cpu != -1 && in find_cas_cpu()
1849 capacity_orig_of(cpu) > capacity_orig_of(target_cpu)) in find_cas_cpu()
1862 if (target_cpu_util == util && target_cpu == prev_cpu) in find_cas_cpu()
1871 target_cpu = cpu; in find_cas_cpu()
1874 if (target_cpu != -1 && cpumask_test_cpu(target_cpu, lowest_mask)) { in find_cas_cpu()
1883 trace_sched_find_cas_cpu(task, lowest_mask, boosted_tutil, prev_cpu, target_cpu); in find_cas_cpu()
1885 return target_cpu; in find_cas_cpu()
Dfair.c7050 int target_cpu = -1; in select_task_rq_fair() local
7051 target_cpu = find_rtg_cpu(p); in select_task_rq_fair()
7052 if (target_cpu >= 0) in select_task_rq_fair()
7053 return target_cpu; in select_task_rq_fair()
10325 int target_cpu = busiest_rq->push_cpu; in active_load_balance_cpu_stop() local
10326 struct rq *target_rq = cpu_rq(target_cpu); in active_load_balance_cpu_stop()
10341 if (!cpu_active(busiest_cpu) || !cpu_active(target_cpu)) in active_load_balance_cpu_stop()
10362 target_cpu = busiest_rq->push_cpu; in active_load_balance_cpu_stop()
10366 .dst_cpu = target_cpu, in active_load_balance_cpu_stop()
10377 cpu_online(target_cpu)) { in active_load_balance_cpu_stop()
[all …]
Dcore.c2182 int target_cpu, int curr_cpu) in migrate_swap() argument
2191 .dst_cpu = target_cpu, in migrate_swap()
6870 int migrate_task_to(struct task_struct *p, int target_cpu) in migrate_task_to() argument
6872 struct migration_arg arg = { p, target_cpu }; in migrate_task_to()
6875 if (curr_cpu == target_cpu) in migrate_task_to()
6878 if (!cpumask_test_cpu(target_cpu, p->cpus_ptr)) in migrate_task_to()
6883 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-debugfs.c82 fq->target_cpu, in dpaa2_dbg_fqs_show()
Ddpaa2-eth.h423 int target_cpu; member
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf-script-perl.txt71 field:int target_cpu;
81 $comm, $pid, $prio, $success, $target_cpu) = @_;
/kernel/linux/linux-5.10/tools/lib/traceevent/Documentation/
Dlibtraceevent-filter.txt118 ret = tep_filter_add_filter_str(filter, "sched/sched_wakeup:target_cpu==1");
/kernel/linux/linux-5.10/Documentation/trace/
Dhistogram.rst2150 …<idle>-0 [005] d.h3 309.873611: sched_waking: comm=cyclictest pid=2102 prio=19 target_cpu=005
2151 …<idle>-0 [005] dNh4 309.873613: sched_wakeup: comm=cyclictest pid=2102 prio=19 target_cpu=005
2154 …<idle>-0 [005] d.h3 309.874624: sched_waking: comm=cyclictest pid=2102 prio=19 target_cpu=005
2155 …<idle>-0 [005] dNh4 309.874626: sched_wakeup: comm=cyclictest pid=2102 prio=19 target_cpu=005
2156 …<idle>-0 [005] dNh3 309.874628: sched_waking: comm=cyclictest pid=2103 prio=19 target_cpu=005
2157 …<idle>-0 [005] dNh4 309.874630: sched_wakeup: comm=cyclictest pid=2103 prio=19 target_cpu=005
2159 …-0 [004] d.h3 309.874757: sched_waking: comm=gnome-terminal- pid=1699 prio=120 target_cpu=004
2160 …-0 [004] dNh4 309.874762: sched_wakeup: comm=gnome-terminal- pid=1699 prio=120 target_cpu=004
2163 … <idle>-0 [003] d.s4 309.874956: sched_waking: comm=rcu_sched pid=9 prio=120 target_cpu=007
2165 … <idle>-0 [003] d.s5 309.874961: sched_wakeup: comm=rcu_sched pid=9 prio=120 target_cpu=007
/kernel/linux/linux-5.10/include/linux/
Dhyperv.h862 u32 target_cpu; member

12