Re: Ftrace: can trace kthread?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yong Zhang
Date: Thursday, October 21, 2010 - 1:39 am

On Thu, Oct 21, 2010 at 4:21 PM, Figo.zhang
<zhangtianfei@leadcoretech.com> wrote:

Are you sure kswapd got chance to run on your system?

BTW, I can successfully trace bdi_writeback_thread,
# tracer: function
#
#           TASK-PID    CPU#    TIMESTAMP  FUNCTION
#              | |       |          |         |
       flush-8:0-374   [000] 600743.828496: finish_task_switch <-schedule
       flush-8:0-374   [000] 600743.828498: perf_event_task_sched_in
<-finish_task_switch
       flush-8:0-374   [000] 600743.828498: del_timer_sync <-schedule_timeout
       flush-8:0-374   [000] 600743.828499: try_to_del_timer_sync
<-del_timer_sync
       flush-8:0-374   [000] 600743.828499: lock_timer_base
<-try_to_del_timer_sync
       flush-8:0-374   [000] 600743.828499: _spin_lock_irqsave <-lock_timer_base
       flush-8:0-374   [000] 600743.828500: _spin_unlock_irqrestore
<-try_to_del_timer_sync
       flush-8:0-374   [000] 600743.828500: kthread_should_stop
<-bdi_writeback_task

Thanks,
Yong
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Ftrace: can trace kthread?, Figo.zhang, (Thu Oct 21, 12:55 am)
Re: Ftrace: can trace kthread?, Yong Zhang, (Thu Oct 21, 1:10 am)
Re: Ftrace: can trace kthread?, Figo.zhang, (Thu Oct 21, 1:21 am)
Re: Ftrace: can trace kthread?, Yong Zhang, (Thu Oct 21, 1:39 am)
Re: Ftrace: can trace kthread?, Figo.zhang, (Thu Oct 21, 1:44 am)
Re: Ftrace: can trace kthread?, Yong Zhang, (Thu Oct 21, 1:54 am)
Re: Ftrace: can trace kthread?, Figo.zhang, (Thu Oct 21, 1:59 am)
Re: Ftrace: can trace kthread?, Yong Zhang, (Thu Oct 21, 2:08 am)
Re: Ftrace: can trace kthread?, Figo.zhang, (Thu Oct 21, 2:52 am)
Re: Ftrace: can trace kthread?, KOSAKI Motohiro, (Thu Oct 21, 3:08 am)
Re: Ftrace: can trace kthread?, Peter Zijlstra, (Thu Oct 21, 3:12 am)
Re: Ftrace: can trace kthread?, Steven Rostedt, (Thu Oct 21, 6:31 am)
Re: Ftrace: can trace kthread?, Steven Rostedt, (Thu Oct 21, 6:33 am)