on 17/08/2011 15:15 Steven Hartland said the following: >> define allpcpu >> set $i = 0 >> while ($i <= mp_maxid) >> p *cpuid_to_pcpu[$i] >> set $i = $i + 1 >> end >> end >> allpcpu > > Here's the output. [snip] > $3 = {pc_curthread = 0xffffff06b7f9c000, pc_idlethread = 0xffffff0012d85460, > pc_fpcurthread = 0x0, pc_deadthread = 0x0, pc_curpcb = 0xffffff8d8f35ad00, > pc_switchtime = 564139963042291, pc_switchticks = 247796550, pc_cpuid = 2, > pc_cpumask = 4, pc_other_cpus = 16777211, pc_allcpu = {sle_next = > 0xffffffff808af680}, pc_spinlocks = 0x0, pc_cnt = {v_swtch = 1005391948, > v_trap = > 95927887, v_syscall = 2033274537, v_intr = 137253, v_soft = 151981308, > v_vm_faults = 14199910, v_cow_faults = 1468132, v_cow_optim = 533, v_zfod = > 11032593, v_ozfod = 0, v_swapin = 0, v_swapout = 0, v_swappgsin = 0, > v_swappgsout > = 0, v_vnodein = 17238, v_vnodeout = 48, v_vnodepgsin = 17238, > v_vnodepgsout = 378, v_intrans = 6753, v_reactivated = 0, v_pdwakeups = 0, > v_pdpages = 0, v_tcached = 0, v_dfree = 0, v_pfree = 0, v_tfree = 15435380, > v_page_size = 0, v_page_count = 0, v_free_reserved = 0, > v_free_target = 0, v_free_min = 0, v_free_count = 0, v_wire_count = 0, > v_active_count = 0, v_inactive_target = 0, v_inactive_count = 0, > v_cache_count = > 0, v_cache_min = 0, v_cache_max = 0, v_pageout_free_min = 0, > v_interrupt_free_min = 0, v_free_severe = 0, v_forks = 24041, v_vforks = > 16857, > v_rforks = 0, v_kthreads = 0, v_forkpages = 6281292, v_vforkpages = 3606842, > v_rforkpages = 0, v_kthreadpages = 0}, pc_cp_time = {8629094, > 693, 594838, 24425, 23707811}, pc_device = 0xffffff0012da2500, pc_netisr = > 0x0, > pc_rm_queue = {rmq_next = 0xffffffff808afa50, rmq_prev = 0xffffffff808afa50}, > pc_dynamic = 18446743526093326592, > pc_monitorbuf = '\0' <repeats 127 times>, pc_prvspace = 0xffffffff808af900, > pc_curpmap = 0xffffffff8083ea50, pc_tssp = 0xffffffff808ae7d0, pc_commontssp = > 0xffffffff808ae7d0, pc_rsp0 = -491518579456, > pc_scratch_rsp = 140737488347240, pc_apic_id = 2, pc_acpi_id = 2, pc_fs32p = > 0xffffffff808ad600, pc_gs32p = 0xffffffff808ad608, pc_ldt = > 0xffffffff808ad648, > pc_tss = 0xffffffff808ad638, pc_cmci_mask = 8} [snip]
Thank you. A few more questions: 1. more kgdb info for the core: p *(cpuid_to_pcpu[2]->pc_curthread) p *(cpuid_to_pcpu[2]->pc_curthread->td_proc) p *(cpuid_to_pcpu[2]->pc_curthread->td_proc->p_limit) 2. do you have any additional patches in your source tree besides those debugging patches that I provided to you? 3. do you have any thirdparty/out-of-tree kernel modules? 4. could you please send me your kernel config? -- Andriy Gapon _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"