Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Paste
P11
stack(9) running threads
Active
Public
Actions
Authored by
bdrewery
on Jul 1 2014, 9:55 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F4670: stack(9)_running_threads
Jul 1 2014, 9:55 PM
2014-07-01 21:55:06 (UTC+0)
Subscribers
None
Before:
# procstat -kka|egrep "(idle:|procstat)"
11 100003 idle idle: cpu0 <running>
11 100004 idle idle: cpu1 mi_switch+0x275 critical_exit+0x8b sched_idletd+0x1e8 fork_exit+0x84 fork_trampoline+0xe
5167 100172 procstat - <running>
After:
# procstat -kka|egrep "(idle:|procstat)"
11 100003 idle idle: cpu0 stack_hardclock+0xc2 hardclock_cnt+0x2d5 handleevents+0xbc timercb+0x208 lapic_handle_timer+0x9c Xtimerint+0x8c acpi_cpu_idle+0x13b cpu_idle_acpi+0x3f cpu_idle+0x93 sched_idletd+0x1e8 fork_exit+0x84 fork_trampoline+0xe
11 100004 idle idle: cpu1 mi_switch+0x275 critical_exit+0x8b sched_idletd+0x1e8 fork_exit+0x84 fork_trampoline+0xe
1141 100143 procstat - stack_save_thread+0x1e1 sysctl_kern_proc_kstack+0x21a sysctl_root+0x1bd userland_sysctl+0x19e sys___sysctl+0x74 amd64_syscall+0x2c3 Xfast_syscall+0xfb
Event Timeline
bdrewery
edited the content of this paste.
(Show Details)
Jul 1 2014, 9:55 PM
2014-07-01 21:55:06 (UTC+0)
bdrewery
changed the title of this paste from untitled to
stack(9) running threads
.
bdrewery
updated the paste's language from
autodetect
to
text
.
bdrewery
mentioned this in
D323: Allow stack(9) to capture stack of running process via stack_save_thread(). Have kern.proc.kstack use this.
.
Jul 9 2015, 5:45 PM
2015-07-09 17:45:52 (UTC+0)
Log In to Comment