1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
in trampoline()
bootstrap_ctx(): switch back to caller
mk_ctx(): leave
mk_ctx(): enter
in trampoline()
bootstrap_ctx(): switch back to caller
mk_ctx(): leave
bootstrap_ctx(): reentered from scheduler
test() 0
bootstrap_ctx(): reentered from scheduler
test2() 0
test() 1
test2() 1
test() 2
test2() 2
test() 3
test2() 3
test() 4
test2() 4
return to main