Lines Matching full:print
62 print(s, file=sys.stderr, flush=True)
118 print('Affinity Scopes')
119 print('===============')
121 print(f'wq_unbound_cpumask={cpumask_str(wq_unbound_cpumask)}')
124 print(f' nr_pods {pt.nr_pods.value_()}')
126 print(' pod_cpus', end='')
128 print(f' [{pod}]={cpumask_str(pt.pod_cpus[pod])}', end='')
129 print('')
131 print(' pod_node', end='')
133 print(f' [{pod}]={pt.pod_node[pod].value_()}', end='')
134 print('')
136 print(f' cpu_pod ', end='')
138 print(f' [{cpu}]={pt.cpu_pod[cpu].value_()}', end='')
139 print('')
142 print('')
143 …print(f'{wq_affn_names[affn].string_().decode().upper()}{" (default)" if affn == wq_affn_dfl else …
146 print('')
147 print('Worker Pools')
148 print('============')
159 …print(f'pool[{pi:0{max_pool_id_len}}] flags=0x{pool.flags.value_():02x} ref={pool.refcnt.value_():…
160 print(f'idle/workers={pool.nr_idle.value_():3}/{pool.nr_workers.value_():3} ', end='')
162 print(f'cpu={pool.cpu.value_():3}', end='')
164 print(' bh', end='')
166 print(f'cpus={cpumask_str(pool.attrs.cpumask)}', end='')
167 print(f' pod_cpus={cpumask_str(pool.attrs.__pod_cpumask)}', end='')
169 print(' strict', end='')
170 print('')
172 print('')
173 print('Workqueue CPU -> pool')
174 print('=====================')
176 print(f'[{"workqueue":^{WQ_NAME_LEN-2}}\\ {"type CPU":{wq_type_len}}', end='')
178 print(f' {cpu:{max_pool_id_len}}', end='')
179 print(' dfl]')
182 print(f'{wq.name.string_().decode():{WQ_NAME_LEN}} {wq_type_str(wq):10}', end='')
187 print(f' {pool_id:{field_len}}', end='')
190 print(f' {wq.dfl_pwq.pool.id.value_():{max_pool_id_len}}', end='')
191 print('')
193 print('')
194 print('Workqueue -> rescuer')
195 print('====================')
200 print(f'[{"workqueue":^{WQ_NAME_LEN-2}}\\ {"unbound_cpus":{ucpus_len}} pid {"rescuer_cpus":{rcpu…
206 print(f'{wq.name.string_().decode():{WQ_NAME_LEN}}', end='')
208 print(f' {cpumask_str(wq.unbound_attrs.cpumask):{ucpus_len}}', end='')
210 print(f' {"":{ucpus_len}}', end='')
212 print(f' {wq.rescuer.task.pid.value_():6}', end='')
213 print(f' {cpumask_str(wq.rescuer.task.cpus_ptr):{rcpus_len}}', end='')
214 print('')
216 print('')
217 print('Unbound workqueue -> node_nr/max_active')
218 print('=======================================')
225 print(f'online_cpus={cpumask_str(__cpu_online_mask.address_of_())}')
227 print(f'NODE[{node:02}]={cpumask_str(node_to_cpumask_map[node])}')
228 print('')
230 print(f'[{"workqueue":^{WQ_NAME_LEN-2}}\\ min max', end='')
234 print(f' NODE {node}', end='')
237 print(f' {node:7}', end='')
238 print(f' {"dfl":>7} ]')
239 print('')
245 print(f'{wq.name.string_().decode():{WQ_NAME_LEN}} ', end='')
246 print(f'{wq.min_active.value_():3} {wq.max_active.value_():3}', end='')
249 print(f' {nna.nr.counter.value_():3}/{nna.max.value_():3}', end='')
251 print(f' {nna.nr.counter.value_():3}/{nna.max.value_():3}')