/Linux-v5.10/tools/perf/scripts/perl/ |
D | wakeup-latency.pl | 55 $comm, $pid, $prio, $success, $target_cpu) = @_; 57 $last_wakeup{$target_cpu}{ts} = nsecs($common_secs, $common_nsecs);
|
/Linux-v5.10/arch/sparc/kernel/ |
D | sun4d_irq.c | 487 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()
|
/Linux-v5.10/tools/perf/scripts/python/ |
D | sched-migration.py | 355 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)
|
/Linux-v5.10/drivers/hv/ |
D | channel_mgmt.c | 432 hv_clear_alloced_cpu(channel->target_cpu); in hv_process_channel_removal() 677 u32 target_cpu; in init_vp_index() local 691 channel->target_cpu = VMBUS_CONNECT_CPU; in init_vp_index() 720 target_cpu = cpumask_first(available_mask); in init_vp_index() 721 cpumask_set_cpu(target_cpu, alloced_mask); in init_vp_index() 723 channel->target_cpu = target_cpu; in init_vp_index()
|
D | vmbus_drv.c | 237 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 …]
|
D | hv.c | 265 if (channel->target_cpu == cpu) { in hv_synic_cleanup() 270 if (sc->target_cpu == cpu) { in hv_synic_cleanup()
|
D | hyperv_vmbus.h | 417 if (channel->target_cpu == cpu) in hv_is_alloced_cpu() 420 if (sc->target_cpu == cpu) in hv_is_alloced_cpu()
|
D | channel.c | 175 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()
|
/Linux-v5.10/tools/perf/bench/ |
D | numa.c | 269 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()
|
/Linux-v5.10/drivers/pci/controller/ |
D | pci-xgene-msi.c | 175 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()
|
D | pcie-iproc-msi.c | 210 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()
|
/Linux-v5.10/drivers/scsi/ |
D | storvsc_drv.c | 654 if (device->channel != channel && device->channel->target_cpu == old) { in storvsc_change_target_cpu() 662 if (cur_chn->target_cpu == old) { in storvsc_change_target_cpu() 717 stor_device->stor_chns[new_sc->target_cpu] = new_sc; in handle_sc_creation() 718 cpumask_set_cpu(new_sc->target_cpu, &stor_device->alloced_cpus); in handle_sc_creation() 946 stor_device->stor_chns[device->channel->target_cpu] = device->channel; in storvsc_channel_init() 947 cpumask_set_cpu(device->channel->target_cpu, in storvsc_channel_init() 1396 if (outgoing_channel->target_cpu == q_num) { in storvsc_do_io()
|
/Linux-v5.10/kernel/ |
D | padata.c | 65 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()
|
/Linux-v5.10/include/trace/events/ |
D | sched.h | 68 __field( int, target_cpu ) 76 __entry->target_cpu = task_cpu(p); 81 __entry->target_cpu)
|
/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth-debugfs.c | 82 fq->target_cpu, in dpaa2_dbg_fqs_show()
|
D | dpaa2-eth.h | 423 int target_cpu; member
|
D | dpaa2-eth.c | 2393 cpumask_set_cpu(fq->target_cpu, &xps_mask); in update_xps() 2779 fq->target_cpu = rx_cpu; in dpaa2_eth_set_fq_affinity() 2785 fq->target_cpu = txc_cpu; in dpaa2_eth_set_fq_affinity() 2793 fq->channel = dpaa2_eth_get_affine_channel(priv, fq->target_cpu); in dpaa2_eth_set_fq_affinity()
|
/Linux-v5.10/tools/perf/Documentation/ |
D | perf-script-perl.txt | 71 field:int target_cpu; 81 $comm, $pid, $prio, $success, $target_cpu) = @_;
|
D | perf-script-python.txt | 465 field:int target_cpu; 473 comm, pid, prio, success, target_cpu):
|
/Linux-v5.10/tools/lib/traceevent/Documentation/ |
D | libtraceevent-filter.txt | 118 ret = tep_filter_add_filter_str(filter, "sched/sched_wakeup:target_cpu==1");
|
/Linux-v5.10/kernel/sched/ |
D | core.c | 2087 int target_cpu, int curr_cpu) in migrate_swap() argument 2096 .dst_cpu = target_cpu, in migrate_swap() 6631 int migrate_task_to(struct task_struct *p, int target_cpu) in migrate_task_to() argument 6633 struct migration_arg arg = { p, target_cpu }; in migrate_task_to() 6636 if (curr_cpu == target_cpu) in migrate_task_to() 6639 if (!cpumask_test_cpu(target_cpu, p->cpus_ptr)) in migrate_task_to() 6644 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
|
D | fair.c | 9853 int target_cpu = busiest_rq->push_cpu; in active_load_balance_cpu_stop() local 9854 struct rq *target_rq = cpu_rq(target_cpu); in active_load_balance_cpu_stop() 9865 if (!cpu_active(busiest_cpu) || !cpu_active(target_cpu)) in active_load_balance_cpu_stop() 9886 for_each_domain(target_cpu, sd) { in active_load_balance_cpu_stop() 9894 .dst_cpu = target_cpu, in active_load_balance_cpu_stop()
|
/Linux-v5.10/Documentation/trace/ |
D | histogram.rst | 2150 …<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
|
D | ftrace.rst | 2141 <idle>-0 2d.h4 1us : sched_wakeup: comm=sleep pid=5882 prio=94 success=1 target_cpu=002 3427 …8 [000] d..4 136.676759: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000 3428 …h-1998 [000] dN.4 136.676760: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000 3429 … [003] d.h3 136.676906: sched_wakeup: comm=rcu_preempt pid=9 prio=120 success=1 target_cpu=003 3432 …8 [000] d..4 136.677014: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000 3433 …h-1998 [000] dN.4 136.677016: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000 3435 …1-59 [000] d..4 136.677022: sched_wakeup: comm=sshd pid=1995 prio=120 success=1 target_cpu=001
|
/Linux-v5.10/include/linux/ |
D | hyperv.h | 862 u32 target_cpu; member
|