yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi) writes: >> i want to get rid of ltr from cpu_switchto. > > the following is a result of "fmt.sh <tprof.out|head -30". > tprof.out here was taken while running mysql sysbench. > "cpu_switchto+0x4f" is the next address of the ltr instruction. How does one interpret the output of tprof/fmt.sh? Perry > 13259 c039b98a x86_pause+0x2 > 7652 c039b571 bus_space_read_4+0x11 > 2735 c010ce12 mutex_enter+0x12 > 2308 c02dd845 _kernel_lock+0xc5 > 2182 c010cfcd __cpu_simple_lock_try+0xd > 1824 c010cef5 mutex_spin_enter+0x35 > 1536 c039b988 x86_pause > 1525 c01005c4 sse2_zero_page+0x14 > 1515 c0100c4c spllower+0x2c > 1384 c01005c0 sse2_zero_page+0x10 > 1379 c0100490 Xsyscall > 1285 c039ef5f invlpg+0x7 > 1234 c010cf9d __cpu_simple_lock+0xd > 737 c01003cf cpu_switchto+0x4f > 732 c0100fb9 Xintr_lapic_tlb_mcast+0x49 > 710 c02dd84e _kernel_lock+0xce > 641 bb86b9a7 start > 634 bb9002a7 start > 609 c01006fc copyout+0x3c > 609 c010ce5f rw_enter+0x1f > 577 c02abc50 nonresident_rotate+0x10 > 576 c0100523 syscall1+0x91 > 572 c03a57ff syscall+0x4f > 552 c010cf32 mutex_spin_exit+0x32 > 499 c03585b8 ether_input+0x48 > 482 c010074a copyin+0x3a > 472 c010ce30 mutex_exit+0x10 > 470 c010052b syscall1+0x99 > 467 c010ce9e rw_exit+0x1e > 441 bb86ba47 start