Skip to content

Instantly share code, notes, and snippets.

@brendangregg
Created April 3, 2015 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brendangregg/bca7c10ff3f8ff34e21a to your computer and use it in GitHub Desktop.
Save brendangregg/bca7c10ff3f8ff34e21a to your computer and use it in GitHub Desktop.
sleep 6 via latency_tracker
<idle>-0 [002] dNh. 5790376.199595: offcpu_sched_wakeup: waker_comm=swapper/2 (0), wakee_comm=sleep (29321), wakee_offcpu_delay=6000061382, flag=0, waker_stack=ttwu_do_wakeup+0xb2/0xc0
ttwu_do_activate.constprop.74+0x5d/0x70
try_to_wake_up+0x1d2/0x2c0
wake_up_process+0x23/0x40
hrtimer_wakeup+0x22/0x40
__run_hrtimer+0x77/0x1d0
hrtimer_interrupt+0xef/0x230
local_apic_timer_interrupt+0x37/0x60
smp_apic_timer_interr
<idle>-0 [002] d... 5790376.199618: offcpu_sched_switch: comm=sleep, pid=29321, delay=6000101834, flag=0, stack=schedule+0x29/0x70
do_nanosleep+0xc5/0x130
hrtimer_nanosleep+0xad/0x170
SyS_nanosleep+0x66/0x80
system_call_fastpath+0x1a/0x1f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment